forked from extern/shorewall_code
Correct rule-generation detection in perl_action_helper
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
221f4909b5
commit
61d8f704f9
@ -2665,11 +2665,11 @@ sub perl_action_helper($$) {
|
|||||||
assert( $chainref );
|
assert( $chainref );
|
||||||
|
|
||||||
if ( $inlines{$action} ) {
|
if ( $inlines{$action} ) {
|
||||||
&process_rule1( $chainref,
|
$result = &process_rule1( $chainref,
|
||||||
$matches,
|
$matches,
|
||||||
$target,
|
$target,
|
||||||
'',
|
'', # CurrentParam
|
||||||
@columns );
|
@columns );
|
||||||
} else {
|
} else {
|
||||||
$result = process_rule1( $chainref,
|
$result = process_rule1( $chainref,
|
||||||
$matches,
|
$matches,
|
||||||
@ -2692,7 +2692,9 @@ sub perl_action_helper($$) {
|
|||||||
0, # Wildcard
|
0, # Wildcard
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
#
|
||||||
|
# Record that we generated a rule to avoid bogus warning
|
||||||
|
#
|
||||||
$actionresult ||= $result;
|
$actionresult ||= $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2742,7 +2744,9 @@ sub perl_action_tcp_helper($$) {
|
|||||||
0, # Wildcard
|
0, # Wildcard
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
#
|
||||||
|
# Record that we generated a rule to avoid bogus warning
|
||||||
|
#
|
||||||
$actionresult ||= $result;
|
$actionresult ||= $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user