mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02: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 {
|
||||
$simple = 0;
|
||||
if ( $option eq 'm' ) {
|
||||
$input =~ s/(\w+)\s*//;
|
||||
$input =~ s/([\w-]+)\s*//;
|
||||
$option = $1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user