forked from extern/shorewall_code
Mark a rule as complex if an option value is a reference.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0d39d7542e
commit
6d57e7a0ce
@ -788,6 +788,7 @@ sub set_rule_option( $$$ ) {
|
||||
assert( defined $value && reftype $ruleref , $value, $ruleref );
|
||||
|
||||
$ruleref->{simple} = 0;
|
||||
$ruleref->{complex} = 1 if reftype $value;
|
||||
|
||||
my $opttype = $opttype{$option} || MATCH;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user