X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnode.h;h=eaba79d0b01ae8bb959c773947d046688540cf81;hp=ba5b1d48fc9efab5e8839f62e579157b63891e91;hb=f712fdc0b3de22566cdf06954256c62f46f25542;hpb=2610a548bbeef7a10172889f8aa41d8bfa797c71 diff --git a/src/node.h b/src/node.h index ba5b1d48..eaba79d0 100644 --- a/src/node.h +++ b/src/node.h @@ -37,7 +37,8 @@ typedef struct node_status_t { unsigned int broadcast: 1; /* 1 if the next UDP packet should be broadcast to the local network */ unsigned int blacklisted: 1; /* 1 if the node is blacklist so we never want to speak with him anymore */ unsigned int destroyed: 1; /* 1 if the node is being destroyed, deallocate channels when any callback is triggered */ - unsigned int unused: 22; + unsigned int duplicate: 1; /* 1 if the node is duplicate, ie. multiple nodes using the same Name are online */ + unsigned int unused: 20; } node_status_t; typedef struct node_t {