Cosmetic change to the output with the '-r' option.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-19 11:59:57 -08:00
parent b562f7f311
commit 2591a17946
2 changed files with 5 additions and 9 deletions

View File

@ -2673,7 +2673,6 @@ sub initialize_chain_table($) {
for my $chain ( qw(OUTPUT PREROUTING) ) {
new_builtin_chain( 'raw', $chain, 'ACCEPT' )->{insert} = 0;
}
new_builtin_chain 'rawpost', 'POSTROUTING', 'ACCEPT';
@ -7264,7 +7263,7 @@ sub emitr( $$ ) {
#
sub enter_cat_mode1() {
print "\n";
emitstd "cat << __EOF__";
emitstd "cat << __EOF__ >&3";
$mode = CAT_MODE;
}

View File

@ -793,13 +793,10 @@ sub compiler {
# (Produces no output to the compiled script -- rules are stored in the chain table)
#
process_tos;
if ( $family == F_IPV4 ) {
#
# ECN
#
setup_ecn if have_capability( 'MANGLE_ENABLED' ) && $config{MANGLE_ENABLED};
}
setup_ecn if $family == F_IPV4 && have_capability( 'MANGLE_ENABLED' ) && $config{MANGLE_ENABLED};
#
# Setup Masquerading/SNAT
#