mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 18:21:27 +02:00
Remove options from 'update' warning messages
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
35f33b325f
commit
af18896851
@ -818,7 +818,7 @@ sub add_common_rules ( $ ) {
|
|||||||
if ( $upgrade ) {
|
if ( $upgrade ) {
|
||||||
convert_blacklist;
|
convert_blacklist;
|
||||||
} elsif ( -f ( my $fn = find_file 'blacklist' ) ) {
|
} elsif ( -f ( my $fn = find_file 'blacklist' ) ) {
|
||||||
warning_message "The blacklist file is no longer supported -- use '$product update -b' to convert $fn to the equivalent blrules file";
|
warning_message "The blacklist file is no longer supported -- use '$product update' to convert $fn to the equivalent blrules file";
|
||||||
}
|
}
|
||||||
|
|
||||||
$list = find_hosts_by_option 'nosmurfs';
|
$list = find_hosts_by_option 'nosmurfs';
|
||||||
|
@ -3373,7 +3373,7 @@ sub setup_tc( $ ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elsif ( -f ( my $fn = find_file( 'tcrules' ) ) ) {
|
} elsif ( -f ( my $fn = find_file( 'tcrules' ) ) ) {
|
||||||
warning_message "The tcrules file is no longer supported -- use '$product update -t' to convert $fn to an equivalent 'mangle' file";
|
warning_message "The tcrules file is no longer supported -- use '$product update' to convert $fn to an equivalent 'mangle' file";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( my $fn = open_file( 'mangle', 1, 1 ) ) {
|
if ( my $fn = open_file( 'mangle', 1, 1 ) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user