diff options
author | Florian Westphal <fw@strlen.de> | 2016-02-25 15:45:08 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-02-25 15:45:08 +0100 |
commit | e195ca5187d10eabe1f7786f2fefa1df26c7a203 (patch) | |
tree | b3495dbcc6a1ef535762ca23eeaa095324e67dcd /files/examples | |
parent | a5229aba55d8622ef12377f0a59827a709338270 (diff) |
examples: use current type names
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'files/examples')
-rwxr-xr-x | files/examples/sets_and_maps | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |