summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2010-03-08 21:00:27 +0000
committerhenning <henning@openbsd.org>2010-03-08 21:00:27 +0000
commitee2ae99dddc9ebbf0d834444a91e9e01081aaf6c (patch)
tree5cbd6a892b6a9b88fa02870a337d84d39a261b8a
parentWhen sensor update fails, set SENSOR_FINVALID in sensor->flags; (diff)
downloadwireguard-openbsd-ee2ae99dddc9ebbf0d834444a91e9e01081aaf6c.tar.xz
wireguard-openbsd-ee2ae99dddc9ebbf0d834444a91e9e01081aaf6c.zip
argh, in del too, simultaneously spotted by kettenis and me
-rw-r--r--sys/net/if.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index ef7efb52184..9ee3f1cfa47 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.210 2010/03/08 20:52:52 henning Exp $ */
+/* $OpenBSD: if.c,v 1.211 2010/03/08 21:00:27 henning Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -2175,8 +2175,6 @@ void
ifa_del(struct ifnet *ifp, struct ifaddr *ifa)
{
TAILQ_REMOVE(&ifp->if_addrlist, ifa, ifa_list);
- if (ifp->if_flags & IFF_BROADCAST && ifa->ifa_broadaddr)
- ifa_item_remove(ifa->ifa_broadaddr, ifa, ifp);
}
int