Handle duplicate chain name for action chain

This commit is contained in:
Tom Eastep 2010-12-28 12:18:42 -08:00
parent 6f7a1c7fd0
commit 4a8f724f9b

View File

@ -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;