mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 19:54:06 +01:00
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:
parent
ff2c261c4b
commit
283f489063
@ -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] ), ' ' );
|
||||
|
Loading…
Reference in New Issue
Block a user