From f1470462883f9c99b9eb62d3d1cb2cfad704f1b1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 21 May 2012 07:01:07 -0700 Subject: [PATCH] Change 'cc' to 'country-code' in invalid cc list error message Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index e003a85e1..a4aab8ebe 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4752,7 +4752,7 @@ sub match_source_net( $;$\$ ) { load_isocodes unless %isocodes; - my @countries = split_list $2, 'cc'; + my @countries = split_list $2, 'country-code'; fatal_error "Too many Country Codes ($2)" if @countries > 15; @@ -4824,7 +4824,7 @@ sub imatch_source_net( $;$\$ ) { load_isocodes unless %isocodes; - my @countries = split_list $2, 'cc'; + my @countries = split_list $2, 'country-code'; fatal_error "Too many Country Codes ($2)" if @countries > 15; @@ -4893,7 +4893,7 @@ sub match_dest_net( $;$ ) { load_isocodes unless %isocodes; - my @countries = split_list $2, 'cc'; + my @countries = split_list $2, 'country-code'; fatal_error "Too many Country Codes ($2)" if @countries > 15; @@ -4960,7 +4960,7 @@ sub imatch_dest_net( $;$ ) { load_isocodes unless %isocodes; - my @countries = split_list $2, 'cc'; + my @countries = split_list $2, 'country-code'; fatal_error "Too many Country Codes ($2)" if @countries > 15;