X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnode.h;h=b48fe88f878704031538bb59ad3595d5c0b6a286;hb=d9a7f2d1054a7155b5f23855ba28dd98e0df73be;hp=02e2a6d6ea42bc2fa57bbbe2a9ef3bc44001fa25;hpb=45a46f068cf8fbe6cc8c59673de2d8580d18f87f;p=tinc diff --git a/src/node.h b/src/node.h index 02e2a6d6..b48fe88f 100644 --- a/src/node.h +++ b/src/node.h @@ -39,8 +39,9 @@ typedef struct node_status_t { unsigned int udp_confirmed:1; /* 1 if the address is one that we received UDP traffic on */ unsigned int send_locally:1; /* 1 if the next UDP packet should be sent on the local network */ unsigned int udppacket:1; /* 1 if the most recently received packet was UDP */ - unsigned int validkey_in; /* 1 if we have sent a valid key to him */ - unsigned int unused:22; + unsigned int validkey_in:1; /* 1 if we have sent a valid key to him */ + unsigned int has_address:1; /* 1 if we know an external address for this node */ + unsigned int unused:20; } node_status_t; typedef struct node_t {