The ability to specify the source adresse for 'encap ip' / 'encap ip6'
was added in commit 94a8722f2f78f04c47678cf864ac234a38366709 but the man
page was not updated.

Also fixes a missing page in ip-route.8.in.

Signed-off-by: Damien Robert <damien.olivier.robert+...@gmail.com>
---
Apologies if this is the wrong way to send patches for iproute2.

 man/man8/ip-route.8.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index a61b263e..34763cc3 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -206,6 +206,8 @@ throw " | " unreachable " | " prohibit " | " blackhole " | 
" nat " ]"
 .IR TUNNEL_ID
 .B  dst
 .IR REMOTE_IP " [ "
+.B src
+.IR SRC " ] ["
 .B tos
 .IR TOS " ] ["
 .B  ttl
@@ -740,11 +742,13 @@ is a set of encapsulation attributes specific to the
 .I TUNNEL_ID
 .B  dst
 .IR REMOTE_IP " [ "
+.B src
+.IR SRC " ] ["
 .B tos
 .IR TOS " ] ["
 .B  ttl
 .IR TTL " ] [ "
-.BR key " ] [" csum " ] [ " seq " ] "
+.BR key " ] [ " csum " ] [ " seq " ] "
 .in -2
 .sp
 
-- 
Patched on top of v5.3.0-35-g0d82ee99 (git version 2.23.0)

Reply via email to