From d3fcb29f0dc44cd916d33e1e5ebaa65832e27589 Mon Sep 17 00:00:00 2001 From: Matt Darfeuille Date: Thu, 7 Feb 2019 19:28:47 +0100 Subject: [PATCH] Use proper function name for warning messages Signed-off-by: Matt Darfeuille Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 682887659..35d093f01 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -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++; } }