forked from extern/shorewall_code
A little cleanup
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5486 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
97fa1af237
commit
aad98ecb30
10
New/compiler
10
New/compiler
@ -62,15 +62,11 @@ startup_error()
|
||||
}
|
||||
|
||||
#
|
||||
# Debug the compiler if first arg is "debug"
|
||||
#
|
||||
# E X E C U T I O N B E G I N S H E R E
|
||||
#
|
||||
#
|
||||
# Start trace if first arg is "debug"
|
||||
#
|
||||
debug=
|
||||
debug="-w"
|
||||
|
||||
[ $# -gt 1 ] && [ "$1" = "debug" ] && { debug="-d"; shift ; }
|
||||
[ $# -gt 1 ] && [ "$1" = "debug" ] && { debug="-dw"; shift ; }
|
||||
|
||||
SHAREDIR=/usr/share/shorewall
|
||||
VARDIR=/var/lib/shorewall
|
||||
|
@ -5387,7 +5387,7 @@ sub compile_firewall( $ ) {
|
||||
#
|
||||
# Apply Policies
|
||||
#
|
||||
progress_message 'Applying Policies...'; apply_policy_rules; dump_action_table if $ENV{DEBUG};
|
||||
progress_message2 'Applying Policies...'; apply_policy_rules; dump_action_table if $ENV{DEBUG};
|
||||
#
|
||||
# Setup Nat
|
||||
#
|
||||
@ -5408,7 +5408,7 @@ sub compile_firewall( $ ) {
|
||||
# Create the script.
|
||||
#
|
||||
unless ( $command eq 'check' ) {
|
||||
progress_message2 "Creating iptables-restore file..."; create_iptables_restore_file;
|
||||
progress_message2 "Creating iptables-restore input..."; create_iptables_restore_file;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user