From abc9ccc5cb7a3adcbb2090ba7314031b835b0e04 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 18 May 2021 20:18:06 +0200 Subject: Flowspec: Label field should use numeric operator and not bitmask operator --- filter/test.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'filter') diff --git a/filter/test.conf b/filter/test.conf index 653bb82f..3a8804a1 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -583,6 +583,7 @@ prefix p; bt_assert(format(flow6 { length 0..65535; }) = "flow6 { length 0..65535; }"); bt_assert(format(flow6 { dscp = 63; }) = "flow6 { dscp 63; }"); bt_assert(format(flow6 { fragment is_fragment || !first_fragment; }) = "flow6 { fragment is_fragment || !first_fragment; }"); + bt_assert(format(flow6 { label 1000..2000; }) = "flow6 { label 1000..2000; }"); bt_assert(format(flow6 { }) = "flow6 { }"); } -- cgit v1.2.3