mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-27 00:29:02 +01:00
Cosmetic/readability changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d1fea7c682
commit
29e0f57928
@ -3138,7 +3138,7 @@ sub do_imac( $ ) {
|
||||
}
|
||||
|
||||
#
|
||||
# Mark validatation functions
|
||||
# Mark validation functions
|
||||
#
|
||||
sub verify_mark( $ ) {
|
||||
my $mark = $_[0];
|
||||
|
@ -615,7 +615,6 @@ sub compiler {
|
||||
# shorewall.conf has been processed and the capabilities have been determined.
|
||||
#
|
||||
initialize_chain_table(1);
|
||||
|
||||
#
|
||||
# Allow user to load Perl modules
|
||||
#
|
||||
@ -697,7 +696,7 @@ sub compiler {
|
||||
if ( $scriptfilename || $debug ) {
|
||||
emit 'return 0';
|
||||
pop_indent;
|
||||
emit '}';
|
||||
emit '}'; # End of setup_common_rules()
|
||||
}
|
||||
|
||||
disable_script;
|
||||
@ -735,7 +734,7 @@ sub compiler {
|
||||
|
||||
if ( $scriptfilename || $debug ) {
|
||||
pop_indent;
|
||||
emit "}\n";
|
||||
emit "}\n"; # End of setup_routing_and_traffic_shaping()
|
||||
}
|
||||
|
||||
disable_script;
|
||||
|
@ -690,7 +690,7 @@ sub add_a_provider( $$ ) {
|
||||
" > $undo" );
|
||||
|
||||
if ( $balance || $default ) {
|
||||
$tbl = $fallback || $config{USE_DEFAULT_RT} ? DEFAULT_TABLE : MAIN_TABLE;
|
||||
$tbl = $fallback || ( $config{USE_DEFAULT_RT} ? DEFAULT_TABLE : MAIN_TABLE );
|
||||
$weight = $balance ? $balance : $default;
|
||||
|
||||
my $via = 'via';
|
||||
|
Loading…
Reference in New Issue
Block a user