ndp: Enable ping6 keep-alive
authorSteven Barth <steven@midlink.org>
Tue, 31 Dec 2013 09:10:12 +0000 (10:10 +0100)
committerSteven Barth <steven@midlink.org>
Tue, 31 Dec 2013 09:10:12 +0000 (10:10 +0100)
src/ndp.c

index bd62068..150d360 100644 (file)
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -534,8 +534,8 @@ static void handle_rtnetlink(_unused void *addr, void *data, size_t len,
 
                /* TODO: See if this is required for optimal operation
                // Keep neighbor entries alive so we don't loose routes
 
                /* TODO: See if this is required for optimal operation
                // Keep neighbor entries alive so we don't loose routes
+                */
                if (add && (ndm->ndm_state & NUD_STALE))
                        ping6(addr, iface);
                if (add && (ndm->ndm_state & NUD_STALE))
                        ping6(addr, iface);
-               */
        }
 }
        }
 }