diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2007-03-28 01:59:27 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2007-03-28 01:59:27 +0000 |
| commit | d3ee8fa1855dfa1c782cd00a634fe9a865cf9ca8 (patch) | |
| tree | 849f6917471359603b7cbcd362e1e71bc89d8149 /sys/netinet | |
| parent | bcaadb5607bad8470cf01fcfacc6c9785dfb1306 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -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 12a92702e393..3d8e7f6cac0d 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -4087,14 +4087,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; |
