mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 15:43:30 +01:00
Work around emacs bug
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3c9d984835
commit
b6d7e9ea96
@ -5006,7 +5006,7 @@ sub decode_tos( $$ ) {
|
||||
my $mask = have_capability( 'NEW_TOS_MATCH' ) ? 0xff : '';
|
||||
my $value;
|
||||
|
||||
if ( $tos =~ m"^(.+)/(.+)$" ) {
|
||||
if ( $tos =~ m|^(.+)/(.+)$| ) {
|
||||
require_capability 'NEW_TOS_MATCH', 'A mask', 's';
|
||||
$value = numeric_value $1;
|
||||
$mask = numeric_value $2;
|
||||
|
Loading…
Reference in New Issue
Block a user