summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-03-08 21:00:28 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-03-08 21:00:28 +0000
commit6e150b857af30efade6fb9ccd20efc40f242edba (patch)
treec9c6f058ea9eb8756f49a75a7902b68b5dfdc605 /sys/net/if.c
parent6ee20f08e58b111e479c75fe987a43d30040e370 (diff)
argh, in del too, simultaneously spotted by kettenis and me
Diffstat (limited to 'sys/net/if.c')
-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