]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
2.2-beta3 has a signed TAP driver with the IPv6 code, but it's not
authorGert Doering <gert@greenie.muc.de>
Thu, 2 Sep 2010 19:20:30 +0000 (21:20 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 24 Apr 2011 15:22:44 +0000 (17:22 +0200)
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>
ChangeLog.IPv6
tun.c

index 42753898ecb5f777e840a4aa2a176bb731a6abee..19bbad7951083f49f4de9e7f4cc64ac34b7c04b9 100644 (file)
@@ -333,3 +333,8 @@ Sun Aug  8 12:30:44 CEST 2010
   * tun.c: destroy tunX interface at tun_close() on OpenBSD (cleanup)
 
   * TEST SUCCESS: OpenBSD 4.7: client-tun/net30, v4+v6
+
+Thu Sep  2 21:18:32 CEST 2010
+
+  * tun.c: the TAP binary in 2.2-beta3 has the IPv6 related changes, but
+    the version number is 9.8 now -> check for 9.8, not 9.7
diff --git a/tun.c b/tun.c
index 5f636e275e4cfb8a0e285fcaeafeaf9fff2f3f71..9c464bcc9c080c06464e88c5fe99e99aab450816 100644 (file)
--- 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;
       }
   }