summaryrefslogtreecommitdiffstats
path: root/examples/nft-set-elem-del.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-set-elem-del.c')
-rw-r--r--examples/nft-set-elem-del.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/nft-set-elem-del.c b/examples/nft-set-elem-del.c
index b569fea..1e6c90d 100644
--- a/examples/nft-set-elem-del.c
+++ b/examples/nft-set-elem-del.c
@@ -87,9 +87,8 @@ int main(int argc, char *argv[])
nftnl_batch_begin(mnl_nlmsg_batch_current(batch), seq++);
mnl_nlmsg_batch_next(batch);
- nlh = nftnl_set_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
- NFT_MSG_DELSETELEM, family,
- NLM_F_ACK, seq);
+ nlh = nftnl_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
+ NFT_MSG_DELSETELEM, family, NLM_F_ACK, seq);
nftnl_set_elems_nlmsg_build_payload(nlh, s);
nftnl_set_free(s);
mnl_nlmsg_batch_next(batch);