summaryrefslogtreecommitdiffstats
path: root/examples/nft-rule-del.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-rule-del.c')
-rw-r--r--examples/nft-rule-del.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/nft-rule-del.c b/examples/nft-rule-del.c
index 035aaa2..cb085ff 100644
--- a/examples/nft-rule-del.c
+++ b/examples/nft-rule-del.c
@@ -72,11 +72,8 @@ int main(int argc, char *argv[])
nftnl_batch_begin(mnl_nlmsg_batch_current(batch), seq++);
mnl_nlmsg_batch_next(batch);
- nlh = nftnl_rule_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
- NFT_MSG_DELRULE,
- family,
- NLM_F_ACK, seq++);
-
+ nlh = nftnl_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
+ NFT_MSG_DELRULE, family, NLM_F_ACK, seq++);
nftnl_rule_nlmsg_build_payload(nlh, r);
nftnl_rule_free(r);
mnl_nlmsg_batch_next(batch);