summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-01-23 03:15:12 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-01-23 03:15:12 +0100
commit09686693d35bd71187847c95c0967d4125215b97 (patch)
tree842c54fdb63daad9015af1da09e710c0bc52b3b0 /nest
parent732a0a257d180a95a02587203555b8552b6128ac (diff)
Implements handling of BSD iface arrival/departure notifications.
Thanks to Alexander V. Chernikov for original patch.
Diffstat (limited to 'nest')
-rw-r--r--nest/iface.c1
1 files changed, 1 insertions, 0 deletions
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;
}