X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnode.h;h=02e2a6d6ea42bc2fa57bbbe2a9ef3bc44001fa25;hp=0800337cf7dee4a910c179dfd4a1317d7e51c8f3;hb=abb24e9d71b3edb9cacf4c04361cc0dfd4e6a061;hpb=11effab85b6b278ccf0ac3ba52a12bbca3e3dcc5 diff --git a/src/node.h b/src/node.h index 0800337c..02e2a6d6 100644 --- a/src/node.h +++ b/src/node.h @@ -45,12 +45,12 @@ typedef struct node_status_t { typedef struct node_t { char *name; /* name of this node */ + char *hostname; /* the hostname of its real ip */ node_id_t id; /* unique node ID (name hash) */ uint32_t options; /* options turned on for this node */ int sock; /* Socket to use for outgoing UDP packets */ sockaddr_t address; /* his real (internet) ip to send UDP packets to */ - char *hostname; /* the hostname of its real ip */ node_status_t status; time_t last_state_change;