mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02: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 $mask = have_capability( 'NEW_TOS_MATCH' ) ? 0xff : '';
|
||||||
my $value;
|
my $value;
|
||||||
|
|
||||||
if ( $tos =~ m"^(.+)/(.+)$" ) {
|
if ( $tos =~ m|^(.+)/(.+)$| ) {
|
||||||
require_capability 'NEW_TOS_MATCH', 'A mask', 's';
|
require_capability 'NEW_TOS_MATCH', 'A mask', 's';
|
||||||
$value = numeric_value $1;
|
$value = numeric_value $1;
|
||||||
$mask = numeric_value $2;
|
$mask = numeric_value $2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user