summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-12-21 21:12:22 +0000
committerwollman <wollman@FreeBSD.org>1995-12-21 21:12:22 +0000
commit2f6b2c3a32846b925f99bee9f559dce65925051a (patch)
treecdd552450eee51a5dacefe6ffe8a4f46dd3e204d /sys
parentbd3219428d6088d6f80af985e1217495b519c70f (diff)
downloadFreeBSD-src-2f6b2c3a32846b925f99bee9f559dce65925051a.zip
FreeBSD-src-2f6b2c3a32846b925f99bee9f559dce65925051a.tar.gz
Delete old-style-broadcast-address compatibility cruft in IP input path.
If users want to use the old-style broadcast addresses, they will have to currectly configure their systems.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 61dedf1..50a2fd3 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
- * $Id: ip_input.c,v 1.31 1995/12/19 20:46:15 wollman Exp $
+ * $Id: ip_input.c,v 1.32 1995/12/20 18:04:19 wollman Exp $
*/
#include <sys/param.h>
@@ -303,7 +303,7 @@ next:
if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr)
goto ours;
if (ia->ia_ifp->if_flags & IFF_BROADCAST) {
-#if 1
+#if 0
u_long t;
#endif
@@ -312,7 +312,7 @@ next:
goto ours;
if (ip->ip_dst.s_addr == ia->ia_netbroadcast.s_addr)
goto ours;
-#if 1 /* XXX - this should go away */
+#if 0 /* XXX - this should go away */
/*
* Look for all-0's host part (old broadcast addr),
* either for subnet or net.
OpenPOWER on IntegriCloud