summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnders K. Pedersen <akp@cohaesio.com>2016-10-29 03:12:41 +0200
committerFlorian Westphal <fw@strlen.de>2016-10-29 03:12:41 +0200
commit6bc84e04c40a2497c4c416556df09e2782059e1c (patch)
tree459c92b5ec75e84951e9facb42d3361a38ec6784 /doc
parent4a75ed32132d8e2292dd276f3ea7f4edec4f3d06 (diff)
Replace tests/files/expr-rt with Python based tests, and replace ether type
with meta nfproto, which generates a bit fewer instructions. Signed-off-by: Anders K. Pedersen <akp@cohaesio.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/nft.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index 1ff70b07..cc1e4a4c 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -1315,7 +1315,7 @@ filter prerouting meta mark set 0xdead fib daddr . mark type vmap { backhole : d
<para>
<table frame="all">
<title>Routing expression types</title>
- <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
@@ -1375,8 +1375,8 @@ filter output rt classid 10
# IP family dependent rt expressions
ip filter output rt nexthop 192.168.0.1
ip6 filter output rt nexthop fd00::1
-inet filter ether type ip output rt nexthop 192.168.0.1
-inet filter ether type ip6 output rt nexthop fd00::1
+inet filter meta nfproto ipv4 output rt nexthop 192.168.0.1
+inet filter meta nfproto ipv6 output rt nexthop fd00::1
</programlisting>
</example>
</para>