Use proper function name for warning messages

Signed-off-by: Matt Darfeuille <matdarf@gmail.com>
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Matt Darfeuille 2019-02-07 19:28:47 +01:00 committed by Tom Eastep
parent a4ed419aba
commit d3fcb29f0d
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -3726,9 +3726,9 @@ sub build_zone_list( $$$\$\$ ) {
} elsif ( ( $input eq 'all+-' ) || ( $input eq 'all-+' ) ) {
unless ( $excludefw++ ) {
if ( $any ) {
warning message "$original_input is deprecated in favor of 'any+!\$FW'";
warning_message "$original_input is deprecated in favor of 'any+!\$FW'";
} else {
warning message "$original_input is deprecated in favor of 'all+!\$FW'";
warning_message "$original_input is deprecated in favor of 'all+!\$FW'";
}
}
@ -3737,9 +3737,9 @@ sub build_zone_list( $$$\$\$ ) {
} elsif ( $input eq 'all-' ) {
unless ( $excludefw++ ) {
if ( $any ) {
warning message "any- is deprecated in favor of 'any!\$FW'";
warning_message "any- is deprecated in favor of 'any!\$FW'";
} else {
warning message "all- is deprecated in favor of 'all!\$FW'" unless $excludefw++;
warning_message "all- is deprecated in favor of 'all!\$FW'" unless $excludefw++;
}
}