forked from extern/shorewall_code
Tweak the process_action() changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ec6c233666
commit
a945b3e0dd
@ -1799,9 +1799,10 @@ sub process_action(\$\$$) {
|
||||
# were modified (and this function returns true
|
||||
#
|
||||
if ( my $result = pop_action_params( $oldparms ) ) {
|
||||
if ( $result & PARMSMODIFIED ) {
|
||||
return PARMSMODIFIED;
|
||||
} else {
|
||||
#
|
||||
# Modified parameters trumps USEDCALLER
|
||||
#
|
||||
return PARMSMODIFIED if $result & PARMSMODIFIED;
|
||||
#
|
||||
# The chain uses @CALLER but doesn't modify the action parameters.
|
||||
# We need to see if this chain has already called this action
|
||||
@ -1835,9 +1836,6 @@ sub process_action(\$\$$) {
|
||||
# New normalized target
|
||||
#
|
||||
${$wholeactionref} = $renormalized_action;
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
0;
|
||||
|
Loading…
Reference in New Issue
Block a user