mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-03 00:15:54 +02:00
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:
parent
a4ed419aba
commit
d3fcb29f0d
@ -3726,9 +3726,9 @@ sub build_zone_list( $$$\$\$ ) {
|
|||||||
} elsif ( ( $input eq 'all+-' ) || ( $input eq 'all-+' ) ) {
|
} elsif ( ( $input eq 'all+-' ) || ( $input eq 'all-+' ) ) {
|
||||||
unless ( $excludefw++ ) {
|
unless ( $excludefw++ ) {
|
||||||
if ( $any ) {
|
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 {
|
} 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-' ) {
|
} elsif ( $input eq 'all-' ) {
|
||||||
unless ( $excludefw++ ) {
|
unless ( $excludefw++ ) {
|
||||||
if ( $any ) {
|
if ( $any ) {
|
||||||
warning message "any- is deprecated in favor of 'any!\$FW'";
|
warning_message "any- is deprecated in favor of 'any!\$FW'";
|
||||||
} else {
|
} 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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user