Retain proto setting when switching inline <-> noinline

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-12-02 13:40:41 -08:00
parent 7121a0f1b1
commit 42d5d13780
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2115,9 +2115,11 @@ sub process_actions() {
next;
}
$proto = $actions{$action}{proto} unless $proto;
delete $actions{$action};
delete $targets{$action};
} elsif ( ( $actiontype & INLINE ) && ( $type == ACTION ) && $opts & NOINLINE_OPT ) {
$proto = $actions{$action}{proto} unless $proto;
delete $actions{$action};
delete $targets{$action};
} else {