mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-27 01:09:47 +02:00
Handle duplicate chain name for action chain
This commit is contained in:
@@ -218,6 +218,9 @@ sub createlogactionchain( $$$$$ ) {
|
|||||||
|
|
||||||
sub createsimpleactionchain( $ ) {
|
sub createsimpleactionchain( $ ) {
|
||||||
my $action = shift;
|
my $action = shift;
|
||||||
|
|
||||||
|
return createlogactionchain("$action:none::", $action, 'none', '', '' ) if $filter_table->{$action} || $nat_table->{$action};
|
||||||
|
|
||||||
my $chainref = new_standard_chain $action;
|
my $chainref = new_standard_chain $action;
|
||||||
|
|
||||||
$usedactions{"$action:none::"} = $chainref;
|
$usedactions{"$action:none::"} = $chainref;
|
||||||
|
Reference in New Issue
Block a user