From 287111fed1c8e9eb135df1108ea747e02b30e9e9 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 10 Apr 2000 10:40:00 +0000 Subject: Fix stupid bug in neighbor cache. --- nest/neighbor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nest/neighbor.c') 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); -- cgit v1.2.3