mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 03:31:24 +02:00
Allow inline matches with IP[6]TABLES
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1634267faa
commit
66a04e4819
@ -2091,9 +2091,9 @@ sub split_line2( $$;$$$ ) {
|
|||||||
}
|
}
|
||||||
} elsif ( $inline ) {
|
} elsif ( $inline ) {
|
||||||
#
|
#
|
||||||
# This file supports INLINE
|
# This file supports INLINE or IPTABLES
|
||||||
#
|
#
|
||||||
if ( $currentline =~ /^\s*INLINE(?:\(.*\)|:.*)?\s/) {
|
if ( $currentline =~ /^\s*INLINE(?:\(.*\)|:.*)?\s/ || $currentline =~ /^\s*IP6?TABLES(?:\(.*\)|:.*)?\s/ ) {
|
||||||
$inline_matches = $pairs;
|
$inline_matches = $pairs;
|
||||||
|
|
||||||
if ( $columns =~ /^(\s*|.*[^&@%]){(.*)}\s*$/ ) {
|
if ( $columns =~ /^(\s*|.*[^&@%]){(.*)}\s*$/ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user