summaryrefslogtreecommitdiffstats
path: root/examples/nft-table-del.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-table-del.c')
-rw-r--r--examples/nft-table-del.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/nft-table-del.c b/examples/nft-table-del.c
index 3d78fd4..44f0b1f 100644
--- a/examples/nft-table-del.c
+++ b/examples/nft-table-del.c
@@ -79,9 +79,9 @@ int main(int argc, char *argv[])
table_seq = seq;
family = nftnl_table_get_u32(t, NFTNL_TABLE_FAMILY);
- nlh = nftnl_table_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
- NFT_MSG_DELTABLE, family,
- NLM_F_ACK, seq++);
+ nlh = nftnl_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch),
+ NFT_MSG_DELTABLE, family,
+ NLM_F_ACK, seq++);
nftnl_table_nlmsg_build_payload(nlh, t);
mnl_nlmsg_batch_next(batch);
nftnl_table_free(t);