summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-11-14 17:57:15 +0100
committerPhil Sutter <phil@nwl.cc>2022-11-15 17:04:03 +0100
commit15f43c4be9506bd038bf7d960c0f372f4bd2135e (patch)
tree4d5041e55b9dfae1431f2bc3684e2c8214871145 /iptables/nft-shared.c
parent459a39d9546e4886a725e0b6a17902b73e145b9f (diff)
nft-shared: replace nftnl_expr_get_data() by nftnl_expr_get()
Replace nftnl_expr_get_data() alias by real function call. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-shared.c')
-rw-r--r--iptables/nft-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
index e5e3ac0b..97512e3f 100644
--- a/iptables/nft-shared.c
+++ b/iptables/nft-shared.c
@@ -1025,7 +1025,7 @@ static void nft_parse_immediate(struct nft_xt_ctx *ctx, struct nftnl_expr *e)
const void *imm_data;
uint32_t len;
- imm_data = nftnl_expr_get_data(e, NFTNL_EXPR_IMM_DATA, &len);
+ imm_data = nftnl_expr_get(e, NFTNL_EXPR_IMM_DATA, &len);
dreg = nft_xt_ctx_get_dreg(ctx, nftnl_expr_get_u32(e, NFTNL_EXPR_IMM_DREG));
if (!dreg)
return;