summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-01-13 07:05:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-01-13 07:05:29 +0000
commitd0230fd127b632516030a4841cd489d96f761aba (patch)
tree24b2ebbce7ff52c5b5f30d8acb9659bf36ab08a2 /sys/netinet/ip_input.c
parentd0bbd2d6443777ef53c24574b09427c55e04112e (diff)
we don't need broadcast for the classful network AND broadcast for the
subnet of the classful network. at least, not since 1992. ok mpf dlg bob
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 85f0053d54d..220d00c484a 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.175 2010/01/13 01:26:28 henning Exp $ */
+/* $OpenBSD: ip_input.c,v 1.176 2010/01/13 07:05:28 henning Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -695,7 +695,6 @@ in_iawithaddr(struct in_addr ina, struct mbuf *m, u_int rdomain)
ia->ia_ifp == m->m_pkthdr.rcvif)) &&
(ia->ia_ifp->if_flags & IFF_BROADCAST)) {
if (ina.s_addr == ia->ia_broadaddr.sin_addr.s_addr ||
- ina.s_addr == ia->ia_netbroadcast.s_addr ||
/*
* Look for all-0's host part (old broadcast addr),
* either for subnet or net.