mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-13 00:09:43 +01:00
Allow '-' in a match name.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ff4fb21044
commit
6950cd2576
@ -868,7 +868,7 @@ sub transform_rule( $;\$ ) {
|
|||||||
} else {
|
} else {
|
||||||
$simple = 0;
|
$simple = 0;
|
||||||
if ( $option eq 'm' ) {
|
if ( $option eq 'm' ) {
|
||||||
$input =~ s/(\w+)\s*//;
|
$input =~ s/([\w-]+)\s*//;
|
||||||
$option = $1;
|
$option = $1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user