From ec21b03c5b186854cad0d1ed6aa46738bb1e1b1e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 18 May 2018 10:18:09 -0700 Subject: [PATCH] Correct handling of dbl=src_dst in interface OPTIONS Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 60efeb0a1..8544aa0a0 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -810,7 +810,7 @@ sub add_common_rules ( $ ) { $dbl_dst_target = $dbl_src_target; } } elsif ( $dbl_level ) { - my $chainref = set_optflags( new_standard_chain( $dbl_src_target = 'dbl_log' ) , DONT_OPTIMIZE | DONT_DELETE ); + my $chainref = set_optflags( new_standard_chain( $dbl_src_target = $dbl_dst_target = 'dbl_log' ) , DONT_OPTIMIZE | DONT_DELETE ); log_rule_limit( $dbl_level, $chainref,