summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2002-01-04 12:32:34 +0000
committerdarrenr <darrenr@FreeBSD.org>2002-01-04 12:32:34 +0000
commit7d85b12d901f6c2409c58afe8e57ee50b3e25df9 (patch)
tree276f725b87e0f381ec1cf52b221e7d0ed1fd5e44 /sys/contrib
parent82f83a1cbe7c3808ca9607cce030a1afacbbd171 (diff)
downloadFreeBSD-src-7d85b12d901f6c2409c58afe8e57ee50b3e25df9.zip
FreeBSD-src-7d85b12d901f6c2409c58afe8e57ee50b3e25df9.tar.gz
Import this patch to address user concerns.
PR: 27615 Submitted by: Andria Thomas <andria@tovaris.com> Approved by: Me. MFC after: 7 days
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil.c2
-rw-r--r--sys/contrib/ipfilter/netinet/ip_nat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c
index 149d0c7..5e5bfce 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil.c
@@ -491,7 +491,7 @@ int mode;
int error = 0, unit = 0, tmp;
#if (BSD >= 199306) && defined(_KERNEL)
- if ((securelevel >= 2) && (mode & FWRITE))
+ if ((securelevel >= 3) && (mode & FWRITE))
return EPERM;
#endif
#ifdef _KERNEL
diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c
index f48ab76..363ab24 100644
--- a/sys/contrib/ipfilter/netinet/ip_nat.c
+++ b/sys/contrib/ipfilter/netinet/ip_nat.c
@@ -431,7 +431,7 @@ int mode;
u_32_t i, j;
#if (BSD >= 199306) && defined(_KERNEL)
- if ((securelevel >= 2) && (mode & FWRITE))
+ if ((securelevel >= 3) && (mode & FWRITE))
return EPERM;
#endif
OpenPOWER on IntegriCloud