summaryrefslogtreecommitdiffstats
path: root/tests/nft-expr_lookup-test.c
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 /tests/nft-expr_lookup-test.c
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 'tests/nft-expr_lookup-test.c')
-rw-r--r--tests/nft-expr_lookup-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nft-expr_lookup-test.c b/tests/nft-expr_lookup-test.c
index 9e6e051..9b70525 100644
--- a/tests/nft-expr_lookup-test.c
+++ b/tests/nft-expr_lookup-test.c
@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
nftnl_rule_add_expr(a, ex);
- nlh = nftnl_rule_nlmsg_build_hdr(buf, NFT_MSG_NEWRULE, AF_INET, 0, 1234);
+ nlh = nftnl_nlmsg_build_hdr(buf, NFT_MSG_NEWRULE, AF_INET, 0, 1234);
nftnl_rule_nlmsg_build_payload(nlh, a);
if (nftnl_rule_nlmsg_parse(nlh, b) < 0)