]> git.meshlink.io Git - meshlink/commitdiff
Fix compile error.
authorAaron Krebs <aaron.krebs@everbase.net>
Tue, 29 Jul 2014 08:42:36 +0000 (10:42 +0200)
committerAaron Krebs <aaron.krebs@everbase.net>
Tue, 29 Jul 2014 08:42:36 +0000 (10:42 +0200)
src/net.c

index 0475335592fd5c2b8445cf25f3ffd622dfd7c894..25cc15042f0b2a74d030acc78d625531e757fee8 100644 (file)
--- 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