From: tholo Date: Thu, 12 Sep 1996 06:04:47 +0000 (+0000) Subject: Don't assume other subnets than our own are local to us; from Luigi Rizzo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c1ef6a27742a761a60b0fbf85a84ff631f73dff8;p=openbsd Don't assume other subnets than our own are local to us; from Luigi Rizzo by way of Jason Downs & Theo de Raadt. Can be overridden in the kernel configuration file by using "option SUBNETSARELOCAL=1" --- diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 5de33584784..15dc3692352 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in.c,v 1.2 1996/03/03 22:30:28 niklas Exp $ */ +/* $OpenBSD: in.c,v 1.3 1996/09/12 06:04:47 tholo Exp $ */ /* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */ /* @@ -59,7 +59,7 @@ #ifdef INET #ifndef SUBNETSARELOCAL -#define SUBNETSARELOCAL 1 +#define SUBNETSARELOCAL 0 #endif int subnetsarelocal = SUBNETSARELOCAL; /*