summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-09 22:30:38 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-09 22:30:38 +0000
commit4d3ec5cd1fb92df4bae8a132fb5e619cb2487475 (patch)
treef7b6693fbc442bf13eeeefe65dab9469a2c6c534 /sys/netinet/ip_input.c
parent169f9ad3550595f3a720d5862f1def17e9979c84 (diff)
Rename newly-introduced variable to better reflect use.
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index a780d777a74..ae394147888 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.45 2000/01/09 22:17:57 angelos Exp $ */
+/* $OpenBSD: ip_input.c,v 1.46 2000/01/09 22:30:37 angelos Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -78,7 +78,7 @@
#endif
int encdebug = 0;
-int ipsp_allow_all = 1;
+int ipsec_acl = 0;
/*
* Note: DIRECTED_BROADCAST is handled this way so that previous
@@ -1493,8 +1493,7 @@ ip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
case IPCTL_ENCDEBUG:
return (sysctl_int(oldp, oldlenp, newp, newlen, &encdebug));
case IPCTL_IPSEC_ACL:
- return (sysctl_int(oldp, oldlenp, newp, newlen,
- &ipsp_allow_all));
+ return (sysctl_int(oldp, oldlenp, newp, newlen, &ipsec_acl));
default:
return (EOPNOTSUPP);
}