Convert direct increment of cmdcount (which was misspelled) with a call to push_cmd_mode

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6997 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-29 16:18:43 +00:00
parent ff2c261c4b
commit 283f489063

View File

@ -1620,7 +1620,7 @@ sub expand_rule( $$$$$$$$$$ )
add_command( $chainref , "for address in $list; do" );
$rule .= '-m conntrack --ctorigdst $address ';
$chainref->{cmdount}++;
push_cmd_mode $chainref;
} else {
get_interface_address $interfaces[0];
$rule .= join( '', '-m conntrack --ctorigdst $', interface_address ( $interfaces[0] ), ' ' );