diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-12 06:04:48 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-12 06:04:48 +0000 |
commit | 8d96188f5d4188ff11fa23a19245c842f402b710 (patch) | |
tree | ece8951e02099613693e3424cb3e60ec2bb571e1 /sys/netinet/in.c | |
parent | d363fc1000e50ca4d13c19ec21aaae13b248bfee (diff) |
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"
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r-- | sys/netinet/in.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; /* |