mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Correct HELPER requires error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
061ce3d781
commit
86b82c53cf
@ -2781,7 +2781,7 @@ sub process_rule ( $$$$$$$$$$$$$$$$$$$$ ) {
|
|||||||
LOG => sub { fatal_error 'LOG requires a log level' unless supplied $loglevel; } ,
|
LOG => sub { fatal_error 'LOG requires a log level' unless supplied $loglevel; } ,
|
||||||
|
|
||||||
HELPER => sub {
|
HELPER => sub {
|
||||||
fatal_error "HELPER requires require that the helper be specified in the HELPER column" if $helper eq '-';
|
fatal_error "HELPER requires that a helper be specified in the HELPER column" if $helper eq '-';
|
||||||
fatal_error "HELPER rules may only appear in the NEW section" unless $section == NEW_SECTION;
|
fatal_error "HELPER rules may only appear in the NEW section" unless $section == NEW_SECTION;
|
||||||
$action = ''; } ,
|
$action = ''; } ,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user