diff options
author | glebius <glebius@FreeBSD.org> | 2005-12-16 13:10:32 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-12-16 13:10:32 +0000 |
commit | bbfb1f8ed866e8a68142186cb4668f5eb0a41104 (patch) | |
tree | dd327b92311f443252a760d1dac5119a1e59cb2f /sys/netinet/ip_fw2.c | |
parent | 4b0f35ed703b97ce15eb596f0988271d43a38628 (diff) | |
download | FreeBSD-src-bbfb1f8ed866e8a68142186cb4668f5eb0a41104.zip FreeBSD-src-bbfb1f8ed866e8a68142186cb4668f5eb0a41104.tar.gz |
Cleanup __FreeBSD_version.
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r-- | sys/netinet/ip_fw2.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 7627080..188b88d 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -3843,14 +3843,9 @@ ipfw_ctl(struct sockopt *sopt) */ if (sopt->sopt_name == IP_FW_ADD || (sopt->sopt_dir == SOPT_SET && sopt->sopt_name != IP_FW_RESETLOG)) { -#if __FreeBSD_version >= 500034 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); if (error) return (error); -#else /* FreeBSD 4.x */ - if (securelevel >= 3) - return (EPERM); -#endif } error = 0; |