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:
teastep 2007-05-01 16:20:49 +00:00
parent d1d8a11858
commit c984c0bbe3

View File

@ -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 ";