mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-02 10:59:27 +01:00
Work around emacs bug
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
50b7a81b13
commit
4917500f12
@ -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