]> tinc-vpn.org Git - tinc/blobdiff - src/node.h
Use splay trees inside node_t directly.
[tinc] / src / node.h
index b6039684d7595a70b376ae45c419e6190a2bfc9d..f312043da58839431286f1b7b5a4c01f0d8b86c0 100644 (file)
@@ -77,9 +77,9 @@ typedef struct node_t {
        struct edge_t *prevedge;                /* nearest node from him to us */
        struct node_t *via;                     /* next hop for UDP packets */
 
-       splay_tree_t *subnet_tree;              /* Pointer to a tree of subnets belonging to this node */
+       splay_tree_t subnet_tree;               /* Pointer to a tree of subnets belonging to this node */
 
-       splay_tree_t *edge_tree;                /* Edges with this node as one of the endpoints */
+       splay_tree_t edge_tree;                 /* Edges with this node as one of the endpoints */
 
        struct connection_t *connection;        /* Connection associated with this node (if a direct connection exists) */