From cabc20957fb4705a99251ba54542b8abe3ad11a4 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 23 Jan 2018 09:45:50 -0800 Subject: [PATCH] Delete an unnecessary variable Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 223f9f927..8cc8dc50e 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -3273,7 +3273,7 @@ sub initialize_chain_table($) { $mangle_table->{POSTROUTING}{chainnumber} = POSTROUTING; } - if ( my $docker = $config{DOCKER} ) { + if ( $config{DOCKER} ) { add_commands( $nat_table->{OUTPUT}, '[ -f ${VARDIR}/.nat_OUTPUT ] && cat ${VARDIR}/.nat_OUTPUT >&3' ); add_commands( $nat_table->{POSTROUTING}, '[ -f ${VARDIR}/.nat_POSTROUTING ] && cat ${VARDIR}/.nat_POSTROUTING >&3' ); $chainref = new_standard_chain( 'DOCKER' );