From 78803f7c3ca93592dce139a812bce4600d941153 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 18 Apr 2007 03:25:47 +0000 Subject: [PATCH] Make tr/// a little less mysterious git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5993 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 5915813bd..83bb63005 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -652,9 +652,7 @@ sub do_proto( $$$ ) if ( $ports ) { if ( $ports =~ tr/,/,/ > 0 ) { fatal_error "Port list requires Multiport support in your kernel/iptables: $ports" unless $capabilities{MULTIPORT}; - fatal_error "Too many entries in port list: $ports" if port_count( $ports ) > 14; - $output .= "-m multiport --dports $ports "; } else { $output .= "--dport $ports "; @@ -664,9 +662,7 @@ sub do_proto( $$$ ) if ( $sports ) { if ( $sports =~ tr/,/,/ > 0 ) { fatal_error "Port list requires Multiport support in your kernel/iptables: $sports" unless $capabilities{MULTIPORT}; - fatal_error "Too many entries in port list: $sports" if port_count( $sports ) > 14; - $output .= "-m multiport --sports $sports "; } else { $output .= "--sport $sports ";