Keep last known address and time since reachability changed.
This allows tincctl info to show since when a node is online or offline.
This commit is contained in:
parent
1e5deec973
commit
9ade39b7d5
6 changed files with 26 additions and 16 deletions
|
|
@ -709,6 +709,7 @@ static bool setup_myself(void) {
|
|||
myself->nexthop = myself;
|
||||
myself->via = myself;
|
||||
myself->status.reachable = true;
|
||||
myself->last_state_change = time(NULL);
|
||||
myself->status.sptps = experimental;
|
||||
node_add(myself);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue