[PATCH] nftables: adjust example file for new chain type syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Example file has not been updated with new syntax.

Signed-off-by: Phil Oester <kernel@xxxxxxxxxxxx>

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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux