Allow 'optional' to work with 'maclist'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6076 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-04-23 14:14:46 +00:00
parent b560dbd418
commit 3a50a8a1be
3 changed files with 11 additions and 3 deletions

View File

@ -3780,7 +3780,11 @@ __EOF__
done
if [ "$LOG_MARTIANS" = yes ]; then
save_command "echo 1 > /proc/sys/net/ipv4/conf/all/log_martians"
save_command "echo 1 > /proc/sys/net/ipv4/conf/default/log_martians"
else
save_command "echo 0 > /proc/sys/net/ipv4/conf/all/log_martians"
save_command "echo 0 > /proc/sys/net/ipv4/conf/default/log_martians"
fi
fi