mirror of
https://gitlab.com/shorewall/code.git
synced 2025-03-07 11:01:19 +01:00
Correction to MULTIPORT patch
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6f9a1ba29d
commit
8eacbe287b
@ -4371,7 +4371,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;
|
||||
|
Loading…
Reference in New Issue
Block a user