summaryrefslogtreecommitdiffstats
path: root/nest/neighbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r--nest/neighbor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index c4328b6..ef1df86 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -138,8 +138,7 @@ neigh_if_up(struct iface *i)
neighbor *n, *next;
WALK_LIST_DELSAFE(n, next, sticky_neigh_list)
- if (!n->iface &&
- if_connected(&n->addr, i) > 0)
+ if (if_connected(&n->addr, i) > 0)
{
n->iface = i;
add_tail(&i->neighbors, &n->if_n);