diff options
Diffstat (limited to 'examples/nft-rule-ct-timeout-add.c')
-rw-r--r-- | examples/nft-rule-ct-timeout-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nft-rule-ct-timeout-add.c b/examples/nft-rule-ct-timeout-add.c index d779d9a..d3f843e 100644 --- a/examples/nft-rule-ct-timeout-add.c +++ b/examples/nft-rule-ct-timeout-add.c @@ -56,8 +56,8 @@ static struct nftnl_rule *setup_rule(uint8_t family, const char *table, exit(EXIT_FAILURE); } - nftnl_rule_set(r, NFTNL_RULE_TABLE, table); - nftnl_rule_set(r, NFTNL_RULE_CHAIN, chain); + nftnl_rule_set_str(r, NFTNL_RULE_TABLE, table); + nftnl_rule_set_str(r, NFTNL_RULE_CHAIN, chain); nftnl_rule_set_u32(r, NFTNL_RULE_FAMILY, family); if (handle != NULL) { |