summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/ipmon2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipmon b/etc/rc.d/ipmon
index 74ed092..cbed453 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
OpenPOWER on IntegriCloud