--==========1943392778=========Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Here''s another little patch that corrects a couple of silly mistakes. -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://shorewall.sf.net Washington USA \ teastep@shorewall.net --==========1943392778=========Content-Type: text/plain; charset=us-ascii; name=patch-12192002-1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch-12192002-1; size=988 Index: firewall ==================================================================RCS file: /usr/local/cvs/Shorewall/firewall,v retrieving revision 1.146 diff -a -u -r1.146 firewall --- firewall 19 Dec 2002 20:14:10 -0000 1.146 +++ firewall 19 Dec 2002 21:14:14 -0000 @@ -597,7 +597,7 @@ 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 @@ 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:" \ --==========1943392778==========--