mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Disable bare SECTION in the rules file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
07976556ed
commit
6554f7fe28
@ -126,9 +126,9 @@ our @builtins;
|
||||
#
|
||||
# Commands that can be embedded in a basic rule and how many total tokens on the line (0 => unlimited).
|
||||
#
|
||||
our $rule_commands = { SECTION => 2 };
|
||||
our $action_commands = { SECTION => 2, DEFAULTS => 2 };
|
||||
our $macro_commands = { SECTION => 2, DEFAULT => 2 };
|
||||
our $rule_commands = {};
|
||||
our $action_commands = { DEFAULTS => 2 };
|
||||
our $macro_commands = { DEFAULT => 2 };
|
||||
#
|
||||
# There is an implicit assumption that the last column of the @rulecolumns hash is always the last column of the @columns array.
|
||||
# The @columns array doesn't include the ACTION but does include a 'wildcard' last element.
|
||||
|
Loading…
Reference in New Issue
Block a user