From dd9eba1ee70ffad0db15d3be5d314221c098494b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 28 Oct 2012 20:42:23 +0100 Subject: rule: use 64-bits handle instead of 16-bits 5c4d30c nf_tables: use 64-bits rule handle instead of 16-bits Signed-off-by: Pablo Neira Ayuso --- examples/nft-rule-del.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/nft-rule-del.c b/examples/nft-rule-del.c index 4678b4e..5ddfd50 100644 --- a/examples/nft-rule-del.c +++ b/examples/nft-rule-del.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) /* If no handle is specified, delete all rules in the chain */ if (argc == 5) - nft_rule_attr_set_u16(r, NFT_RULE_ATTR_HANDLE, atoi(argv[4])); + nft_rule_attr_set_u64(r, NFT_RULE_ATTR_HANDLE, atoi(argv[4])); char tmp[1024]; nft_rule_snprintf(tmp, sizeof(tmp), r, 0, 0); -- cgit v1.2.3