summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-12-31 10:10:12 +0100
committerSteven Barth <steven@midlink.org>2013-12-31 10:10:12 +0100
commit0850938d569998bf4a570d834e73aeba08646f61 (patch)
tree05c674c3cb6a8c6705f039b8485c9663cb98f50c /src
parent2ca0bfaf3e80af40888507dfeb3e155e8e3c03c4 (diff)
ndp: Enable ping6 keep-alive
Diffstat (limited to 'src')
-rw-r--r--src/ndp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndp.c b/src/ndp.c
index bd62068..150d360 100644
--- 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
+ */
if (add && (ndm->ndm_state & NUD_STALE))
ping6(addr, iface);
- */
}
}