From 09686693d35bd71187847c95c0967d4125215b97 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 23 Jan 2012 03:15:12 +0100 Subject: Implements handling of BSD iface arrival/departure notifications. Thanks to Alexander V. Chernikov for original patch. --- nest/iface.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/iface.c') diff --git a/nest/iface.c b/nest/iface.c index d871ff33..eea3d3b1 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -306,6 +306,7 @@ if_update(struct iface *new) new->addr = i->addr; memcpy(&new->addrs, &i->addrs, sizeof(i->addrs)); memcpy(i, new, sizeof(*i)); + i->flags &= ~IF_UP; /* IF_TMP_DOWN will be added later */ goto newif; } -- cgit v1.2.3