mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 11:20:53 +01:00
Try to handle multiport sport/dport correctly
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6173 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d1d8a11858
commit
c984c0bbe3
@ -792,7 +792,7 @@ sub do_proto( $$$ )
|
||||
fatal_error "Too many entries in port list: $ports" if port_count( $ports ) > 15;
|
||||
$ports = validate_port_list $ports;
|
||||
$output .= "-m multiport --dports $ports ";
|
||||
$dismultiport = 0;
|
||||
$dismultiport = 1;
|
||||
} else {
|
||||
$ports = validate_portpair $ports;
|
||||
$output .= "--dport $ports ";
|
||||
|
Loading…
Reference in New Issue
Block a user