mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
Handle duplicate chain name for action chain
This commit is contained in:
parent
6f7a1c7fd0
commit
4a8f724f9b
@ -218,6 +218,9 @@ sub createlogactionchain( $$$$$ ) {
|
||||
|
||||
sub createsimpleactionchain( $ ) {
|
||||
my $action = shift;
|
||||
|
||||
return createlogactionchain("$action:none::", $action, 'none', '', '' ) if $filter_table->{$action} || $nat_table->{$action};
|
||||
|
||||
my $chainref = new_standard_chain $action;
|
||||
|
||||
$usedactions{"$action:none::"} = $chainref;
|
||||
|
Loading…
Reference in New Issue
Block a user