]> git.ipfire.org Git - thirdparty/nftables.git/commit
set_elem: Use libnftnl/udata to store set element comment
authorCarlos Falgueras García <carlosfg@riseup.net>
Fri, 27 May 2016 14:56:55 +0000 (16:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 May 2016 09:48:18 +0000 (11:48 +0200)
commit61f851beda31aa3a7dcd4ef534d91b5cfb13594b
treef464d07ce955327aa0e0c90c5d85b66ee047c1a5
parentf8fc4366c96882b256c1bc12f6d4b02ad8289b34
set_elem: Use libnftnl/udata to store set element comment

The set element comment is stored in nftnl_set_elem->user.data using
libnftnl/udata infrastructure. This allows store multiple variable length
user data into set element.

Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/netlink.c