mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-14 17:48:17 +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( $ ) {
|
sub verify_mark( $ ) {
|
||||||
my $mark = $_[0];
|
my $mark = $_[0];
|
||||||
|
@ -615,7 +615,6 @@ sub compiler {
|
|||||||
# shorewall.conf has been processed and the capabilities have been determined.
|
# shorewall.conf has been processed and the capabilities have been determined.
|
||||||
#
|
#
|
||||||
initialize_chain_table(1);
|
initialize_chain_table(1);
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allow user to load Perl modules
|
# Allow user to load Perl modules
|
||||||
#
|
#
|
||||||
@ -697,7 +696,7 @@ sub compiler {
|
|||||||
if ( $scriptfilename || $debug ) {
|
if ( $scriptfilename || $debug ) {
|
||||||
emit 'return 0';
|
emit 'return 0';
|
||||||
pop_indent;
|
pop_indent;
|
||||||
emit '}';
|
emit '}'; # End of setup_common_rules()
|
||||||
}
|
}
|
||||||
|
|
||||||
disable_script;
|
disable_script;
|
||||||
@ -735,7 +734,7 @@ sub compiler {
|
|||||||
|
|
||||||
if ( $scriptfilename || $debug ) {
|
if ( $scriptfilename || $debug ) {
|
||||||
pop_indent;
|
pop_indent;
|
||||||
emit "}\n";
|
emit "}\n"; # End of setup_routing_and_traffic_shaping()
|
||||||
}
|
}
|
||||||
|
|
||||||
disable_script;
|
disable_script;
|
||||||
|
@ -690,7 +690,7 @@ sub add_a_provider( $$ ) {
|
|||||||
" > $undo" );
|
" > $undo" );
|
||||||
|
|
||||||
if ( $balance || $default ) {
|
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;
|
$weight = $balance ? $balance : $default;
|
||||||
|
|
||||||
my $via = 'via';
|
my $via = 'via';
|
||||||
|
Loading…
Reference in New Issue
Block a user