mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Fix INLINE in tcrles
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
cd5be38cfb
commit
f32a777099
@ -318,10 +318,14 @@ sub process_tc_rule1( $$$$$$$$$$$$$$$$ ) {
|
||||
|
||||
my $raw = '';
|
||||
|
||||
if ( $originalmark =~ /^INLINE\((.+)\)(:.*)?$/ ) {
|
||||
$originalmark = $1;
|
||||
$originalmark .= $2 if $2;
|
||||
$raw = get_inline_matches(0);
|
||||
if ( $originalmark =~ /^INLINE(\((.+)\))?(:.*)?$/ ) {
|
||||
if ( $1 ) {
|
||||
$originalmark = $2;
|
||||
$originalmark .= $3 if $3;
|
||||
$raw = get_inline_matches(0);
|
||||
} else {
|
||||
$raw = get_inline_matches(1);
|
||||
}
|
||||
} elsif ( $config{INLINE_MATCHES} ) {
|
||||
$raw = get_inline_matches(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user