Use the synchain name in log messages rather than the base chain name

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-12-28 14:13:50 -08:00
parent 5b97800901
commit 9e3cb27d0a
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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" ] ,
'' ,