forked from extern/shorewall_code
Merge branch '4.5.14' of ssh://git.code.sf.net/p/shorewall/code
This commit is contained in:
commit
4586568649
@ -4376,7 +4376,7 @@ sub do_iproto( $$$ )
|
||||
}
|
||||
|
||||
$ports = validate_port_list $pname , $ports;
|
||||
push @output, multiport => ( $srcndst ? "-m multiport ${invert}--ports ${ports} " : "-m multiport ${invert}--dports ${ports} " );
|
||||
push @output, multiport => ( $srcndst ? "${invert}--ports ${ports} " : "${invert}--dports ${ports} " );
|
||||
$multiport = 1;
|
||||
} else {
|
||||
fatal_error "Missing DEST PORT" unless supplied $ports;
|
||||
|
@ -228,6 +228,7 @@ sub copy_and_edit_table( $$$$ ) {
|
||||
#
|
||||
for ( split ',', $copy ) {
|
||||
unless ( $copied{$_} ) {
|
||||
fatal_error "Unknown interface ($_)" unless known_interface($_);
|
||||
push @copy, $_;
|
||||
$copied{$_} = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user