diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-22 00:27:48 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-08-22 18:36:43 +0200 |
commit | 09d27ff9138e4be38b86499e26ad2d1116dd0f02 (patch) | |
tree | 266b2daf46b1c3d757528ee99e66a8fbad748cb1 /tests/py/any/ct.t | |
parent | 0b4bdb894f1225f1045fd9d12f6d975f27e6c368 (diff) |
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 <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any/ct.t')
-rw-r--r-- | tests/py/any/ct.t | 4 |
1 files changed, 4 insertions, 0 deletions
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 |