summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-03-07 15:51:35 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-07 15:51:54 +0100
commit1870165e0241bd06f96da43edbee0e0e82bfa09d (patch)
tree434991529567787f91670f91f4739211f84a875d
parentd2b961353298b26b4e4a1d7eec19ea4ae5d41c47 (diff)
src: don't not dump set content from netlink_get_setelems()
This causes python tests to report payload mismatching errors. Fixes: a43cc8d53096 ("src: support for get element command") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 2422ea11..a74dc255 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -1370,7 +1370,6 @@ int netlink_get_setelems(struct netlink_ctx *ctx, const struct handle *h,
int err;
nls = alloc_nftnl_set(h);
- netlink_dump_set(nls, ctx);
err = mnl_nft_setelem_get(ctx, nls);
if (err < 0) {