summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-03-08 20:52:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-03-08 20:52:53 +0000
commit82a1d7d5f4c16d3fb7a2ce88ec44281ba1f2e04d (patch)
treeb7e6b38a0b234e3f46b869f1dae567abbce65b4f /sys/net
parent97cd9f8c3fde919b18d546cf352f780666cdd74f (diff)
aye, broadcast addr too. spotted by kettenis
Diffstat (limited to 'sys/net')
-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 dc7c8e46b0e..ef7efb52184 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.209 2010/03/08 20:29:41 henning Exp $ */
+/* $OpenBSD: if.c,v 1.210 2010/03/08 20:52:52 henning Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -2169,8 +2169,6 @@ ifa_add(struct ifnet *ifp, struct ifaddr *ifa)
TAILQ_INSERT_HEAD(&ifp->if_addrlist, ifa, ifa_list);
else
TAILQ_INSERT_TAIL(&ifp->if_addrlist, ifa, ifa_list);
- if (ifp->if_flags & IFF_BROADCAST && ifa->ifa_broadaddr)
- ifa_item_insert(ifa->ifa_broadaddr, ifa, ifp);
}
void