From c984c0bbe387f12fd9fd33518d4f39a5027282c0 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 1 May 2007 16:20:49 +0000 Subject: [PATCH] Try to handle multiport sport/dport correctly git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6173 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index bf7abab9d..f03fd7768 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -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 ";