summaryrefslogtreecommitdiff
path: root/nest/neighbor.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-09-26 17:33:00 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-09-26 17:33:00 +0200
commitf83ce94d5e410d5e5b921121867321c19451896b (patch)
tree2e3ccf79943bc33bef516f97a9fe57c0df1aad13 /nest/neighbor.c
parentf515e22924591542a909db0deb8545386aaa576e (diff)
Fixes missing unregister of kernel table handling code.
And some minor fixes. Thanks to Sergey Popovich for the patch.
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r--nest/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index 9dce8119..11a980b2 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -231,7 +231,7 @@ neigh_up(neighbor *n, struct iface *i, int scope)
static void
neigh_down(neighbor *n)
{
- DBG("Flushing neighbor %I on %s\n", n->addr, i->name);
+ DBG("Flushing neighbor %I on %s\n", n->addr, n->iface->name);
rem_node(&n->if_n);
if (! (n->flags & NEF_BIND))
n->iface = NULL;