Re: [PATCH nft 1/2] ct: allow numeric conntrack labels

2016-08-22 Thread Pablo Neira Ayuso
On Mon, Aug 22, 2016 at 12:17:26PM +0200, Florian Westphal wrote: > 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

[PATCH nft 1/2] ct: allow numeric conntrack labels

2016-08-22 Thread Florian Westphal
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,