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->nexthop = myself;
|
||||||
myself->via = myself;
|
myself->via = myself;
|
||||||
myself->status.active = true;
|
|
||||||
myself->status.reachable = true;
|
myself->status.reachable = true;
|
||||||
node_add(myself);
|
node_add(myself);
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
typedef union node_status_t {
|
typedef union node_status_t {
|
||||||
struct {
|
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 validkey:1; /* 1 if we currently have a valid key for him */
|
||||||
int waitingforkey:1; /* 1 if we already sent out a request */
|
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 */
|
int visited:1; /* 1 if this node has been visited by one of the graph algorithms */
|
||||||
|
|
Loading…
Reference in a new issue