diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-17 18:19:26 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-08-22 18:36:43 +0200 |
commit | 0b4bdb894f1225f1045fd9d12f6d975f27e6c368 (patch) | |
tree | fe9e7c023443054f00a8e06f6cb2e31d977d021f /tests/py/any | |
parent | 81595230a20ebb500763a68dd1969a2a6db5a9de (diff) |
ct: allow numeric conntrack labels
When dumping labels in rule list we try to print a symbolic name.
If we don't find one, we print the bit number instead.
This changes nft to also allow use of the number instead of a name
when adding ct label rules so that such dumps can also be restored
again.
This is similar to other cases, e.g. skuid root vs skuid 0 which
are both valid.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any')
0 files changed, 0 insertions, 0 deletions