From: Florian Westphal Date: Thu, 25 Feb 2016 14:45:08 +0000 (+0100) Subject: examples: use current type names X-Git-Tag: v0.6~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e195ca5187d10eabe1f7786f2fefa1df26c7a203;p=thirdparty%2Fnftables.git examples: use current type names Signed-off-by: Florian Westphal --- diff --git a/files/examples/sets_and_maps b/files/examples/sets_and_maps index a05199ae..58369a31 100755 --- a/files/examples/sets_and_maps +++ b/files/examples/sets_and_maps @@ -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; }