mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-24 16:01:11 +02:00
Handle duplicate chain name for action chain
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user