netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nftables: adjust example file for new chain type syntax
@ 2013-11-29 20:32 Phil Oester
  2013-11-30 20:53 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Oester @ 2013-11-29 20:32 UTC (permalink / raw)
  To: netfilter-devel; +Cc: pablo

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

Example file has not been updated with new syntax.

Signed-off-by: Phil Oester <kernel@linuxace.com>


[-- Attachment #2: patch-nft-example --]
[-- Type: text/plain, Size: 427 bytes --]

diff --git a/files/examples/sets_and_maps b/files/examples/sets_and_maps
index 8dfe9f8..adfc688 100755
--- a/files/examples/sets_and_maps
+++ b/files/examples/sets_and_maps
@@ -37,7 +37,7 @@ table filter {
 	chain input_1 { counter; }
 	chain input_2 { counter; }
 	chain input {
-		hook NF_INET_LOCAL_IN 0
+		type filter hook input priority 0
 
 		# symbolic anonymous sets
 		meta iif $local_ifs tcp dport $tcp_ports counter

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-30 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 20:32 [PATCH] nftables: adjust example file for new chain type syntax Phil Oester
2013-11-30 20:53 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).