summaryrefslogtreecommitdiffstats
path: root/tests/nft-table-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nft-table-test.c')
-rw-r--r--tests/nft-table-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/nft-table-test.c b/tests/nft-table-test.c
index 1031ffe..1b2f280 100644
--- a/tests/nft-table-test.c
+++ b/tests/nft-table-test.c
@@ -55,8 +55,7 @@ int main(int argc, char *argv[])
nftnl_table_set_u32(a, NFTNL_TABLE_FLAGS, 0);
/* cmd extracted from include/linux/netfilter/nf_tables.h */
- nlh = nftnl_table_nlmsg_build_hdr(buf, NFT_MSG_NEWTABLE, AF_INET, 0,
- 1234);
+ nlh = nftnl_nlmsg_build_hdr(buf, NFT_MSG_NEWTABLE, AF_INET, 0, 1234);
nftnl_table_nlmsg_build_payload(nlh, a);
if (nftnl_table_nlmsg_parse(nlh, b) < 0)