summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-11-15 11:12:03 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-11-15 11:48:18 +0100
commit7d9b9a5ca4fe744dfa76d146d2003c26f5a42034 (patch)
tree313fa8ae1bc6635cfd130937806d2d1d12fb5aba /src
parenta29ac103e9811909342c0ff2da5c185adb1cde82 (diff)
src: replace nftnl_*_nlmsg_build_hdr() by nftnl_nlmsg_build_hdr()HEADmaster
Use nftnl_nlmsg_build_hdr() instead of nftnl_*_nlmsg_build_hdr(). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common.c b/src/common.c
index 08572c3..ec84fa0 100644
--- a/src/common.c
+++ b/src/common.c
@@ -127,9 +127,8 @@ int nftnl_batch_is_supported(void)
mnl_nlmsg_batch_next(b);
req_seq = seq;
- nftnl_set_nlmsg_build_hdr(mnl_nlmsg_batch_current(b),
- NFT_MSG_NEWSET, AF_INET,
- NLM_F_ACK, seq++);
+ nftnl_nlmsg_build_hdr(mnl_nlmsg_batch_current(b), NFT_MSG_NEWSET,
+ AF_INET, NLM_F_ACK, seq++);
mnl_nlmsg_batch_next(b);
nftnl_batch_end(mnl_nlmsg_batch_current(b), seq++);