diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-04 08:48:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-17 17:51:55 +0200 |
commit | a24e4b21ee33d8307e25ce609c7333ef0ca5811c (patch) | |
tree | 85ee4c1f4885591e46f941fb641b32a8d3707e4b /src/chain.c | |
parent | 200da4866ada06b2ee0f708c93dbdf9dcd0fcfe4 (diff) |
set_elem: don't add NFTA_SET_ELEM_LIST_ELEMENTS attribute if set is empty
If the set is empty, don't send an empty NFTA_SET_ELEM_LIST_ELEMENTS
netlink attributes with no elements.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/chain.c')
0 files changed, 0 insertions, 0 deletions