mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 15:35:50 +02: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( $ ) {
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user