]> git.meshlink.io Git - meshlink/blobdiff - src/edge.h
Allow the mesh to detect when a node has completely restarted.
[meshlink] / src / edge.h
index c86acee34cf781a9305b613f32de006263ec41f9..ba18e875df95108ef1bfa49c8c0f080868295831 100644 (file)
@@ -34,9 +34,7 @@ typedef struct edge_t {
        struct edge_t *reverse;                 /* edge in the opposite direction, if available */
 
        int weight;                             /* weight of this edge */
-
-       // Deprecated
-       uint32_t options;                       /* options turned on for this edge */
+       uint32_t session_id;                     /* the session_id of the from node */
 } edge_t;
 
 extern void init_edges(struct meshlink_handle *mesh);