path: root/
diff options
authorPablo Neira Ayuso <>2013-12-10 17:21:47 +0100
committerPablo Neira Ayuso <>2013-12-10 18:20:57 +0100
commit0b3161731262d3a8c6110c17fd818af325dbf491 (patch)
treeb2817decdfac9cabbf549cff50faa3c28502e7cc /
parent9f9a271267b9ce97cf6fd30016a56441c889cb87 (diff)
examples: nft-rule-add: use existing batch infrastructure
This patch reworks the existing example to add the rule: nft add rule ip filter input tcp dport 22 counter It uses the existing nfnl batching approach using the generic mnl netlink message batching infrastructure. It also removed the code that uses xtables compat code. Based on original patch by Arturo Borrero Gonzalez. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions