Correct indentation

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6431 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-21 17:19:28 +00:00
parent 08c9065635
commit ec134d9e12

View File

@ -473,6 +473,13 @@ EOF
# The bulk of that function is produced by the various config file # The bulk of that function is produced by the various config file
# parsing routines that are called directly out of 'compiler()'. # parsing routines that are called directly out of 'compiler()'.
# #
# We create two separate functions rather than one so that the
# define_firewall() shell can set global IP configuration variables
# after the old config has been cleared and before we start instantiating
# the new config. That way, the variables reflect the way that the
# distribution's tools have configured IP without any Shorewall
# modifications.
#
sub generate_script_2 () { sub generate_script_2 () {
copy $globals{SHAREDIRPL} . 'prog.functions'; copy $globals{SHAREDIRPL} . 'prog.functions';
@ -552,13 +559,14 @@ sub generate_script_2 () {
'setup_routing_and_traffic_shaping() {' 'setup_routing_and_traffic_shaping() {'
); );
push_indent;
setup_mss( $config{CLAMPMSS} ) if $config{CLAMPMSS}; setup_mss( $config{CLAMPMSS} ) if $config{CLAMPMSS};
push_indent;
} }
# #
# Third (final stage of script generation). # Third (final) stage of script generation.
# #
# Generate the end of 'setup_routing_and_traffic_shaping()': # Generate the end of 'setup_routing_and_traffic_shaping()':
# Generate code for loading the various files in /var/lib/shorewall[-lite] # Generate code for loading the various files in /var/lib/shorewall[-lite]