X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnode.h;h=29d37252b5d0273354c3d2f4e3bcb47fbf164662;hb=22b4cde7698b0d6c45bad752b1ab9acb5a68329b;hp=dd19884537334dac78f910ff55e274b6811e759f;hpb=9759acaa786734e050d31bd6f8c150b8a80a597d;p=meshlink-tiny diff --git a/src/node.h b/src/node.h index dd19884..29d3725 100644 --- a/src/node.h +++ b/src/node.h @@ -53,10 +53,8 @@ typedef struct node_t { dev_class_t devclass; // Used for packet I/O - int sock; /* Socket to use for outgoing UDP packets */ uint32_t session_id; /* Unique ID for this node's currently running process */ sptps_t sptps; - sockaddr_t address; /* his real (internet) ip to send UDP packets to */ struct utcp *utcp; @@ -85,7 +83,6 @@ typedef struct node_t { char *canonical_address; /* The canonical address of this node, if known */ sockaddr_t recent[MAX_RECENT]; /* Recently seen addresses */ - sockaddr_t catta_address; /* Latest address seen by Catta */ struct node_t *nexthop; /* nearest node from us to him */ } node_t;