From 9e3cb27d0a137aff2bd19d4ca63f40f72828cda7 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 28 Dec 2017 14:13:50 -0800 Subject: [PATCH] Use the synchain name in log messages rather than the base chain name Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 5167c4f09..80e219cf6 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -1159,7 +1159,7 @@ sub setup_syn_flood_chains() { add_rule $synchainref , "${limit}-j RETURN"; log_irule_limit( $level , $synchainref , - $chainref->{name} , + $synchainref->{name} , 'DROP', @{$globals{LOGILIMIT}} ? $globals{LOGILIMIT} : [ limit => "--limit 5/min --limit-burst 5" ] , '' ,