forked from extern/shorewall_code
a) fix a silly bug and b) avoid calling separate_list on an already separated list
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@373 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
97c6eae79e
commit
ad6a24aa3f
@ -597,7 +597,7 @@ validate_interfaces_file() {
|
||||
eval ${interface}_zone="$z"
|
||||
eval ${interface}_options=\"$options\"
|
||||
|
||||
for option in `separate_list $options`; do
|
||||
for option in $options; do
|
||||
case $option in
|
||||
dhcp|noping|filterping|routestopped|norfc1918|multi|tcpflags)
|
||||
;;
|
||||
@ -2160,8 +2160,8 @@ add_a_rule()
|
||||
if [ "$loglevel" = ULOG ]; then
|
||||
run_iptables2 -A $chain $proto $multiport \
|
||||
$state $cli $sports $serv $dports -j ULOG $LOGPARMS \
|
||||
--ulog-prefix "Shorewall:$chain:$logtarget:" \
|
||||
else
|
||||
--ulog-prefix "Shorewall:$chain:$logtarget:"
|
||||
else
|
||||
run_iptables2 -A $chain $proto $multiport \
|
||||
$state $cli $sports $serv $dports -j LOG $LOGPARMS \
|
||||
--log-prefix "Shorewall:$chain:$logtarget:" \
|
||||
|
Loading…
Reference in New Issue
Block a user