summaryrefslogtreecommitdiffstats
path: root/tun.c
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2010-09-02 21:20:30 +0200
committerGert Doering <gert@greenie.muc.de>2011-04-24 17:22:44 +0200
commit48173b72c63796aabe5bfb76de05087fe543aa19 (patch)
treeb983c025a25074ee9f192854242e158ac4c7df86 /tun.c
parent670d1b57b63df92f29b5c5fc882da6941ff2b0b2 (diff)
downloadopenvpn-48173b72c63796aabe5bfb76de05087fe543aa19.tar.gz
openvpn-48173b72c63796aabe5bfb76de05087fe543aa19.tar.xz
openvpn-48173b72c63796aabe5bfb76de05087fe543aa19.zip
2.2-beta3 has a signed TAP driver with the IPv6 code, but it's not
version 9.7 as anticipated (that's 2.1.3) but 9.8 - change test to require 9.8, and change message to point to 2.2-beta3 and up. Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'tun.c')
-rw-r--r--tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tun.c b/tun.c
index 5f636e2..9c464bc 100644
--- a/tun.c
+++ b/tun.c
@@ -4481,9 +4481,9 @@ open_tun (const char *dev, const char *dev_type, const char *dev_node, struct tu
* *this* version of the driver
*/
if ( tt->ipv6 && tt->type == DEV_TYPE_TUN &&
- info[0] == 9 && info[1] < 7)
+ info[0] == 9 && info[1] < 8)
{
- msg( M_INFO, "WARNING: Tap-Win32 driver version %d.%d does not support IPv6 in TUN mode. IPv6 will be disabled. Upgrade to Tap-Win32 9.7 or use TAP mode to get IPv6", (int) info[0], (int) info[1] );
+ msg( M_INFO, "WARNING: Tap-Win32 driver version %d.%d does not support IPv6 in TUN mode. IPv6 will be disabled. Upgrade to Tap-Win32 9.8 (2.2-beta3 release or later) or use TAP mode to get IPv6", (int) info[0], (int) info[1] );
tt->ipv6 = false;
}
}