mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 20:30:43 +01:00
Change 'cc' to 'country-code' in invalid cc list error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
daaf3c031f
commit
f147046288
@ -4752,7 +4752,7 @@ sub match_source_net( $;$\$ ) {
|
|||||||
|
|
||||||
load_isocodes unless %isocodes;
|
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;
|
fatal_error "Too many Country Codes ($2)" if @countries > 15;
|
||||||
|
|
||||||
@ -4824,7 +4824,7 @@ sub imatch_source_net( $;$\$ ) {
|
|||||||
|
|
||||||
load_isocodes unless %isocodes;
|
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;
|
fatal_error "Too many Country Codes ($2)" if @countries > 15;
|
||||||
|
|
||||||
@ -4893,7 +4893,7 @@ sub match_dest_net( $;$ ) {
|
|||||||
|
|
||||||
load_isocodes unless %isocodes;
|
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;
|
fatal_error "Too many Country Codes ($2)" if @countries > 15;
|
||||||
|
|
||||||
@ -4960,7 +4960,7 @@ sub imatch_dest_net( $;$ ) {
|
|||||||
|
|
||||||
load_isocodes unless %isocodes;
|
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;
|
fatal_error "Too many Country Codes ($2)" if @countries > 15;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user