The "active" bit in node.status is not used.
This commit is contained in:
parent
134dc8995b
commit
1728d5b2c4
2 changed files with 1 additions and 2 deletions
|
@ -437,7 +437,6 @@ bool setup_myself(void)
|
|||
|
||||
myself->nexthop = myself;
|
||||
myself->via = myself;
|
||||
myself->status.active = true;
|
||||
myself->status.reachable = true;
|
||||
node_add(myself);
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
typedef union node_status_t {
|
||||
struct {
|
||||
int active:1; /* 1 if active.. */
|
||||
int unused_active:1; /* 1 if active (not used for nodes) */
|
||||
int validkey:1; /* 1 if we currently have a valid key for him */
|
||||
int waitingforkey:1; /* 1 if we already sent out a request */
|
||||
int visited:1; /* 1 if this node has been visited by one of the graph algorithms */
|
||||
|
|
Loading…
Reference in a new issue