summaryrefslogtreecommitdiffstats
path: root/examples/nft-set-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-set-get.c')
-rw-r--r--examples/nft-set-get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nft-set-get.c b/examples/nft-set-get.c
index cbe3f85..48a0699 100644
--- a/examples/nft-set-get.c
+++ b/examples/nft-set-get.c
@@ -83,8 +83,8 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- nlh = nftnl_set_nlmsg_build_hdr(buf, NFT_MSG_GETSET, family,
- NLM_F_DUMP|NLM_F_ACK, seq);
+ nlh = nftnl_nlmsg_build_hdr(buf, NFT_MSG_GETSET, family,
+ NLM_F_DUMP | NLM_F_ACK, seq);
/* Use this below if you want to obtain sets per table */
/* nftnl_set_set(t, NFT_SET_TABLE, argv[2]); */
nftnl_set_nlmsg_build_payload(nlh, t);