summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-02-25 15:45:08 +0100
committerFlorian Westphal <fw@strlen.de>2016-02-25 15:45:08 +0100
commite195ca5187d10eabe1f7786f2fefa1df26c7a203 (patch)
treeb3495dbcc6a1ef535762ca23eeaa095324e67dcd /files
parenta5229aba55d8622ef12377f0a59827a709338270 (diff)
examples: use current type names
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'files')
-rwxr-xr-xfiles/examples/sets_and_maps10
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; }