[PATCH] src: don't not dump set content from netlink_get_setelems()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This causes python tests to report payload mismatching errors.

Fixes: a43cc8d53096 ("src: support for get element command")
Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
---
 src/netlink.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/netlink.c b/src/netlink.c
index 2422ea114815..a74dc2551e88 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) {
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux