summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-18 20:18:06 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-18 20:23:08 +0200
commitabc9ccc5cb7a3adcbb2090ba7314031b835b0e04 (patch)
treeb5e137243217e4316dd6925bc8c18c49906b4371 /filter
parentdd8481cc1c92af32ec69cded42b985b7bad40b26 (diff)
Flowspec: Label field should use numeric operator and not bitmask operator
Diffstat (limited to 'filter')
-rw-r--r--filter/test.conf1
1 files changed, 1 insertions, 0 deletions
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 { }");
}