forked from extern/shorewall_code
The other half of the re-implementation of 'enable/disable_object'
Signed-off-by: Tom Eastep <teastep@shorewall.net> git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9825 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0744df13d6
commit
b1e9453c62
@ -639,8 +639,9 @@ sub compiler {
|
||||
#
|
||||
setup_notrack;
|
||||
|
||||
enable_object;
|
||||
|
||||
unless ( $command eq 'check' ) {
|
||||
enable_object;
|
||||
#
|
||||
# Place Header in the object
|
||||
#
|
||||
@ -683,15 +684,16 @@ sub compiler {
|
||||
unless ( $command eq 'check' ) {
|
||||
pop_indent;
|
||||
emit '}';
|
||||
disable_object;
|
||||
}
|
||||
|
||||
disable_object;
|
||||
#
|
||||
# R O U T I N G _ A N D _ T R A F F I C _ S H A P I N G
|
||||
# (Writes the setup_routing_and_traffic_shaping() function to the compiled script)
|
||||
#
|
||||
enable_object;
|
||||
|
||||
unless ( $command eq 'check' ) {
|
||||
enable_object;
|
||||
|
||||
emit( "\n#",
|
||||
'# Setup routing and traffic shaping',
|
||||
|
Loading…
Reference in New Issue
Block a user