X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.c;h=25cc15042f0b2a74d030acc78d625531e757fee8;hb=e16463732db2045c884fa47aafa36a07c55b0c5c;hp=0475335592fd5c2b8445cf25f3ffd622dfd7c894;hpb=3610b382c6971808aa1988e8af945a7816e7246b;p=meshlink diff --git a/src/net.c b/src/net.c index 04753355..25cc1504 100644 --- a/src/net.c +++ b/src/net.c @@ -165,7 +165,7 @@ static void periodic_handler(event_loop_t *loop, void *data) { bool trying_unreachable = false; if(i++ != r) { - if(n->status->reachable) { + if(n->status.reachable) { continue; } else { /* If we see an unreachable node