The "active" bit in node.status is not used.

This commit is contained in:
Guus Sliepen 2006-11-11 13:43:00 +00:00
parent 134dc8995b
commit 1728d5b2c4
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -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 */