mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 14:48:51 +01:00
Use the real chain name in log messages
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ebf55a84f0
commit
054837aeea
@ -6335,7 +6335,7 @@ sub log_rule_limit( $$$$$$$$;$ ) {
|
|||||||
my ($level, $chainref, $chn, $dispo, $limit, $tag, $command, $matches, $origin ) = @_;
|
my ($level, $chainref, $chn, $dispo, $limit, $tag, $command, $matches, $origin ) = @_;
|
||||||
|
|
||||||
my $prefix = '';
|
my $prefix = '';
|
||||||
my $chain = get_action_chain_name || $chn;
|
my $chain = $actparams{0} ? $actparams{0}->{name} : $chn;
|
||||||
my $disposition = get_action_disposition || $dispo;
|
my $disposition = get_action_disposition || $dispo;
|
||||||
my $original_matches = $matches;
|
my $original_matches = $matches;
|
||||||
my $ruleref;
|
my $ruleref;
|
||||||
@ -6435,7 +6435,7 @@ sub log_irule_limit( $$$$$$$$@ ) {
|
|||||||
|
|
||||||
my $prefix = '';
|
my $prefix = '';
|
||||||
my %matches;
|
my %matches;
|
||||||
my $chain = get_action_chain_name || $chn;
|
my $chain = $actparams{0} ? $actparams{0}->{name} : $chn;
|
||||||
my $disposition = get_action_disposition || $dispo;
|
my $disposition = get_action_disposition || $dispo;
|
||||||
my $original_matches = @matches;
|
my $original_matches = @matches;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user