]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
examples: use current type names
authorFlorian Westphal <fw@strlen.de>
Thu, 25 Feb 2016 14:45:08 +0000 (15:45 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 25 Feb 2016 14:45:08 +0000 (15:45 +0100)
Signed-off-by: Florian Westphal <fw@strlen.de>
files/examples/sets_and_maps

index a05199ae18fa84c74e5b031ddd50699c206c0042..58369a3190946d99a91550109931e23ad5f52309 100755 (executable)
@@ -20,18 +20,18 @@ define tcp_ports = { ssh, domain, https, 123-125 }
 
 delete table filter
 table filter {
-       # named set of type ifindex
+       # named set of type iface_index
        set local_ifs {
-               type ifindex
+               type iface_index
        }
 
-       # named map of type ifindex : ipv4_address
+       # named map of type iface_index : ipv4_addr
        map nat_map {
-               type ifindex : ipv4_address
+               type iface_index : ipv4_addr
        }
 
        map jump_map {
-               type ifindex : verdict
+               type iface_index : verdict
        }
 
        chain input_1 { counter; }