Reword error message

- "Invalid action name ..." to "Reserved action name ..."

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-01-06 13:56:36 -08:00
parent 1a68d87c94
commit 0aa0bebe07
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -1447,7 +1447,7 @@ sub new_action( $$$$$$ ) {
my ( $action , $type, $options , $actionfile , $state, $proto ) = @_;
fatal_error "Invalid action name($action)" if reserved_name( $action );
fatal_error "Reserved action name ($action)" if reserved_name( $action );
$actions{$action} = { file => $actionfile, actchain => '' , type => $type, options => $options , state => $state, proto => $proto };