]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: Remove repeated paragraph and fix typo
authornl6720 <nl6720@gmail.com>
Sun, 8 Dec 2019 09:25:58 +0000 (11:25 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 8 Dec 2019 23:22:38 +0000 (00:22 +0100)
[ Florian: Expand "ininterface" to "incoming interface" ]

Signed-off-by: nl6720 <nl6720@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/primary-expression.txt

index 5473d59801f3fcdcdeba9e35286c41caf1e5f338..6f636e13f5b5b66248bc1ef48e5244e413e69a5f 100644 (file)
@@ -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)