From 82a1d7d5f4c16d3fb7a2ce88ec44281ba1f2e04d Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 8 Mar 2010 20:52:53 +0000 Subject: aye, broadcast addr too. spotted by kettenis --- sys/net/if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/net') 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 -- cgit v1.2.3