Skip to contentSkip to conversation

Improve documentation and help text for --route-ipv6.

PATCH In review Gert Doering 3 participants 3 messages May 18, 2013 – Jun 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Improve documentation and help text for --route-ipv6.

---
 doc/openvpn.8         | 6 +++++-
 src/openvpn/options.c | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
doc/openvpn.8 +5 -1
index cbfc107..366e2f5 100644
@@ -5359,7 +5359,11 @@ if no gateway is specified.
 .TP
 .B --route-ipv6 ipv6addr/bits [gateway] [metric]
 setup IPv6 routing in the system to send the specified IPv6 network
-into OpenVPN's ``tun'' device
+into OpenVPN's ``tun''.  The gateway parameter is only used for
+IPv6 routes across ``tap'' devices, and if missing, the ``ipv6remote''
+field from
+.B --ifconfig-ipv6
+is used.
 .TP
 .B --server-ipv6 ipv6addr/bits
 convenience-function to enable a number of IPv6 related options at
src/openvpn/options.c +1 -1
index c5ed0d6..fdf52e0 100644
@@ -215,7 +215,7 @@ static const char usage_message[] =
   "--route-ipv6 network/bits [gateway] [metric] :\n"
   "                  Add IPv6 route to routing table after connection\n"
   "                  is established.  Multiple routes can be specified.\n"
-  "                  gateway default: taken from --route-ipv6-gateway or --ifconfig\n"
+  "                  gateway default: taken from 'remote' in --ifconfig-ipv6\n"
   "--max-routes n :  Specify the maximum number of routes that may be defined\n"
   "                  or pulled from a server.\n"
   "--route-gateway gw|'dhcp' : Specify a default gateway for use with --route.\n"
Signature · 1 line
1.8.1.5
#2 lore raw
In reply to Gert Doering

From: David Sommerseth <[email protected]...>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Your patch has been applied to the master branch.

commit a1010a849dc3642037eed17c88f73aa2fb162e4d

Author: Gert Doering
Date:   Sat May 18 12:43:01 2013 +0200
     Improve documentation and help text for --route-ipv6.

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: David Sommerseth <[email protected]...>
     Message-Id: [email protected]...
     URL: http://article.gmane.org/gmane.network.openvpn.devel/7598
     Signed-off-by: David Sommerseth <[email protected]...>

- --
kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlG3XEwACgkQDC186MBRfrqwAACbB+AR+yOs8eGiwsUNKKSj/9a+ rmYAn2T7IipYLuzji9WLbXHua2PuMo/s
=cR2+
-----END PGP SIGNATURE-----