X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fgraph.c;h=e6cd011fa0727b69a29c26e1a1bd5ccc9d765d81;hb=3a316823b971396a428f020f401b9fe41252d98d;hp=1f1fdb3d54c50050530afd5034a2bb75930a3855;hpb=5cbef906209eb5005f821af8f55a6f5d7e7d060c;p=tinc diff --git a/src/graph.c b/src/graph.c index 1f1fdb3d..e6cd011f 100644 --- a/src/graph.c +++ b/src/graph.c @@ -269,7 +269,7 @@ static void check_reachability(void) { if(!n->status.reachable) { update_node_udp(n, NULL); - memset(&n->status, 0, sizeof n->status); + memset(&n->status, 0, sizeof(n->status)); n->options = 0; } else if(n->connection) { // Speed up UDP probing by sending our key.