`net.inet.ipf.fr_running' can be a negative value, which was introduced by
recent ipfilter import. Approved by: re (scottl), anholt (mentor)
This commit is contained in:
parent
f8b12dd293
commit
c687e6de5b
@ -59,7 +59,7 @@ ipfilter_prestart()
|
||||
ipfilter_start()
|
||||
{
|
||||
echo "Enabling ipfilter."
|
||||
if [ `sysctl -n net.inet.ipf.fr_running` -eq 0 ]; then
|
||||
if [ `sysctl -n net.inet.ipf.fr_running` -le 0 ]; then
|
||||
${ipfilter_program:-/sbin/ipf} -E
|
||||
fi
|
||||
${ipfilter_program:-/sbin/ipf} -Fa
|
||||
|
Loading…
x
Reference in New Issue
Block a user