forked from extern/shorewall_code
Allow inline matches in an action file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a799d74901
commit
5ef5aa8cdb
@ -1673,9 +1673,11 @@ sub process_action($$) {
|
||||
$origdest = $connlimit = $time = $headers = $condition = $helper = '-';
|
||||
} else {
|
||||
($target, $source, $dest, $proto, $ports, $sports, $origdest, $rate, $user, $mark, $connlimit, $time, $headers, $condition, $helper )
|
||||
= split_line1( 'action file',
|
||||
= split_line2( 'action file',
|
||||
\%rulecolumns,
|
||||
$action_commands );
|
||||
$action_commands,
|
||||
undef,
|
||||
1 );
|
||||
}
|
||||
|
||||
fatal_error 'TARGET must be specified' if $target eq '-';
|
||||
|
Loading…
Reference in New Issue
Block a user