]> 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 2e59fa1de02da0a411787b82359ed855935c9dd5..ba18e875df95108ef1bfa49c8c0f080868295831 100644 (file)
@@ -34,6 +34,7 @@ typedef struct edge_t {
        struct edge_t *reverse;                 /* edge in the opposite direction, if available */
 
        int weight;                             /* weight of this edge */
+       uint32_t session_id;                     /* the session_id of the from node */
 } edge_t;
 
 extern void init_edges(struct meshlink_handle *mesh);