Browse code

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

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1368873781-29552-1-git-send-email-gert@greenie.muc.de
URL: http://article.gmane.org/gmane.network.openvpn.devel/7598
Signed-off-by: David Sommerseth <davids@redhat.com>

Gert Doering authored on 2013/05/18 19:43:01
Showing 2 changed files
... ...
@@ -5379,7 +5379,11 @@ if no gateway is specified.
5379 5379
 .TP
5380 5380
 .B --route-ipv6 ipv6addr/bits [gateway] [metric]
5381 5381
 setup IPv6 routing in the system to send the specified IPv6 network
5382
-into OpenVPN's ``tun'' device
5382
+into OpenVPN's ``tun''.  The gateway parameter is only used for
5383
+IPv6 routes across ``tap'' devices, and if missing, the ``ipv6remote''
5384
+field from
5385
+.B --ifconfig-ipv6
5386
+is used.
5383 5387
 .TP
5384 5388
 .B --server-ipv6 ipv6addr/bits
5385 5389
 convenience-function to enable a number of IPv6 related options at
... ...
@@ -219,7 +219,7 @@ static const char usage_message[] =
219 219
   "--route-ipv6 network/bits [gateway] [metric] :\n"
220 220
   "                  Add IPv6 route to routing table after connection\n"
221 221
   "                  is established.  Multiple routes can be specified.\n"
222
-  "                  gateway default: taken from --route-ipv6-gateway or --ifconfig\n"
222
+  "                  gateway default: taken from 'remote' in --ifconfig-ipv6\n"
223 223
   "--max-routes n :  Specify the maximum number of routes that may be defined\n"
224 224
   "                  or pulled from a server.\n"
225 225
   "--route-gateway gw|'dhcp' : Specify a default gateway for use with --route.\n"