summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2019-12-08 11:25:58 +0200
committerFlorian Westphal <fw@strlen.de>2019-12-09 00:22:38 +0100
commit940b93a5c63d16ee21b5879f530876941ba04759 (patch)
treea12422580459a2cba6ce88c941d3f4d457f0211b /doc
parenta8347553432c1852925ec51cc66b6676b81fbfec (diff)
doc: Remove repeated paragraph and fix typo
[ Florian: Expand "ininterface" to "incoming interface" ] Signed-off-by: nl6720 <nl6720@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/primary-expression.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt
index 5473d598..6f636e13 100644
--- a/doc/primary-expression.txt
+++ b/doc/primary-expression.txt
@@ -305,13 +305,7 @@ If no route was found for the source address/input interface combination, the ou
In case the input interface is specified as part of the input key, the output interface index is always the same as the input interface index or zero.
If only 'saddr oif' is given, then oif can be any interface index or zero.
-In this example, 'saddr . iif' lookups up routing information based on the source address and the input interface.
-oif picks the output interface index from the routing information.
-If no route was found for the source address/input interface combination, the output interface index is zero.
-In case the input interface is specified as part of the input key, the output interface index is always the same as the input interface index or zero.
-If only 'saddr oif' is given, then oif can be any interface index or zero.
-
-# drop packets to address not configured on ininterface
+# drop packets to address not configured on incoming interface
filter prerouting fib daddr . iif type != { local, broadcast, multicast } drop
# perform lookup in a specific 'blackhole' table (0xdead, needs ip appropriate ip rule)