From 1728d5b2c43b33700a9997f97fe8503ad1cf3585 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 11 Nov 2006 13:43:00 +0000 Subject: [PATCH] The "active" bit in node.status is not used. --- src/net_setup.c | 1 - src/node.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net_setup.c b/src/net_setup.c index d03869e6..4bac3f0b 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 2ea96922..4b3224e3 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 */ -- 2.39.5