mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Use filename stored in the actions table
- Avoid a find_file call on each action invocation Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c631173310
commit
28e0cb5335
@ -1814,7 +1814,7 @@ sub process_action(\$\$$) {
|
||||
fatal_error "Action $action may not be used in the mangle file" if $chainref->{table} eq 'mangle';
|
||||
}
|
||||
|
||||
my $actionfile = find_file "action.$action";
|
||||
my $actionfile = $actions{$action}->{file};
|
||||
|
||||
fatal_error "Missing Action File ($actionfile)" unless -f $actionfile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user