From: Guus Sliepen Date: Sat, 11 Nov 2006 13:43:00 +0000 (+0000) Subject: The "active" bit in node.status is not used. X-Git-Tag: release-1.0.5~10 X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=1728d5b2c43b33700a9997f97fe8503ad1cf3585 The "active" bit in node.status is not used. --- diff --git a/src/net_setup.c b/src/net_setup.c index d03869e..4bac3f0 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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); diff --git a/src/node.h b/src/node.h index 2ea9692..4b3224e 100644 --- a/src/node.h +++ b/src/node.h @@ -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 */