]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
examples: adjust new chain type syntax in sets_and_maps file
authorPhil Oester <kernel@linuxace.com>
Fri, 29 Nov 2013 20:32:29 +0000 (12:32 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 30 Nov 2013 20:45:58 +0000 (21:45 +0100)
This example file has not been updated with new syntax.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
files/examples/sets_and_maps

index 8dfe9f83cfc3f37b14f818d48f02eec28a16c095..adfc6884cf387e9d630ab9884bb408d86518ab68 100755 (executable)
@@ -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