diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2010-08-01 15:41:00 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2010-08-01 15:41:00 +0000 |
commit | 32c50473a83895260abe1c6a72f516b73f9838ea (patch) | |
tree | bfb029bd1539cd45a8c3136fe9e1d3d7d14fb4b3 /etc | |
parent | 271e7c594b452eece9a1b550ee27b2d303a3e30c (diff) | |
download | src-32c50473a83895260abe1c6a72f516b73f9838ea.tar.gz src-32c50473a83895260abe1c6a72f516b73f9838ea.zip |
Notes
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/ipmon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipmon b/etc/rc.d/ipmon index 74ed092e0e20..cbed4530006c 100755 --- a/etc/rc.d/ipmon +++ b/etc/rc.d/ipmon @@ -20,7 +20,7 @@ ipmon_precmd() # Continue only if ipfilter or ipnat is enabled and the # ipfilter module is loaded. # - if ! checkyesno ipfilter_enable -o ! checkyesno ipnat_enable ; then + if ! checkyesno ipfilter_enable && ! checkyesno ipnat_enable ; then err 1 "${name} requires either ipfilter or ipnat enabled" fi if ! sysctl net.inet.ipf.fr_pass >/dev/null 2>&1; then |