mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 12:09:14 +01:00
Allow the '-V' option in the CLI programs.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
739f3779f5
commit
f6a55bbf05
@ -3421,8 +3421,16 @@ shorewall_cli() {
|
|||||||
g_fast=Yes
|
g_fast=Yes
|
||||||
option=${option#f}
|
option=${option#f}
|
||||||
;;
|
;;
|
||||||
|
[vV]*)
|
||||||
|
case $option in
|
||||||
v*)
|
v*)
|
||||||
option=${option#v}
|
option=${option#v}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
option=${option#V}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $option in
|
case $option in
|
||||||
-1*)
|
-1*)
|
||||||
g_use_verbosity=-1
|
g_use_verbosity=-1
|
||||||
|
@ -1409,7 +1409,6 @@ sub process_providers( $ ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $providers || $pseudoproviders ) {
|
|
||||||
my $fn = open_file 'routes';
|
my $fn = open_file 'routes';
|
||||||
|
|
||||||
if ( $fn ) {
|
if ( $fn ) {
|
||||||
@ -1419,7 +1418,6 @@ sub process_providers( $ ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_a_provider( $providers{$_}, $tcdevices ) for @providers;
|
add_a_provider( $providers{$_}, $tcdevices ) for @providers;
|
||||||
}
|
|
||||||
|
|
||||||
emit << 'EOF';;
|
emit << 'EOF';;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user