summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-09-09 20:17:24 +0000
committerwollman <wollman@FreeBSD.org>1996-09-09 20:17:24 +0000
commit140bceea656ea41ae4065f3c10de278ccaa126de (patch)
tree992eeb13e2b67a7739eef789f0b878dd6c26401f /sys/netinet/in.c
parent773f2751605acdf76a2f11f276e3fe2c3cb4a04b (diff)
downloadFreeBSD-src-140bceea656ea41ae4065f3c10de278ccaa126de.zip
FreeBSD-src-140bceea656ea41ae4065f3c10de278ccaa126de.tar.gz
Set subnetsarelocal to false. In a classless world, the other case
is almost never useful. (This is only a quick hack; someone should go back and delete the entire subnetsarelocal==1 code path.)
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r--sys/netinet/in.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index dd1db1f..878f3bb 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in.c 8.4 (Berkeley) 1/9/95
- * $Id: in.c,v 1.23 1996/03/15 17:08:07 fenner Exp $
+ * $Id: in.c,v 1.24 1996/04/07 06:59:52 davidg Exp $
*/
#include <sys/param.h>
@@ -72,7 +72,7 @@ static int in_ifinit __P((struct ifnet *,
struct in_ifaddr *, struct sockaddr_in *, int));
static void in_ifscrub __P((struct ifnet *, struct in_ifaddr *));
-static int subnetsarelocal = 1;
+static int subnetsarelocal = 0;
SYSCTL_INT(_net_inet_ip, OID_AUTO, subnets_are_local, CTLFLAG_RW,
&subnetsarelocal, 0, "");
/*
OpenPOWER on IntegriCloud