Skip to contentSkip to conversation

man: add reference to `ip route add encap ... src`

PATCH New Damien Robert 1 participant 1 message Sep 30, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man: add reference to `ip route add encap ... src`

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.

---
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(-)
man/man8/ip-route.8.in +5 -1
index a61b263e..34763cc3 100644
@@ -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
 
Signature · 1 line
Patched on top of v5.3.0-35-g0d82ee99 (git version 2.23.0)