From 09d27ff9138e4be38b86499e26ad2d1116dd0f02 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 22 Aug 2016 00:27:48 +0200 Subject: ct: display bit number instead of raw value ... and add test cases for ct label. Currently this dumped 'label 0x2', now 'label 1' would be shown. This makes add/list behave the same. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- tests/py/any/ct.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/py/any/ct.t') diff --git a/tests/py/any/ct.t b/tests/py/any/ct.t index 4d13213d..7fd4f2cb 100644 --- a/tests/py/any/ct.t +++ b/tests/py/any/ct.t @@ -92,3 +92,7 @@ ct saddr 1.2.3.4;fail ct original mark 42;fail # swapped key and direction ct mark original;fail + +ct label 127;ok +ct label set 127;ok +ct label 128;fail -- cgit v1.2.3