On Sonntag, 9. Oktober 2016 17:25:50 CEST Gert Doering wrote:
> diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c
> index 4a11d10..1250547 100644
> --- a/src/openvpn/tun.c
> +++ b/src/openvpn/tun.c
> @@ -1373,11 +1373,13 @@ do_ifconfig (struct tuntap *tt,
> else
> {
> /* example: netsh interface ipv6 set address interface=42
> 2001:608:8003::d store=active */ + char iface[64];
> + openvpn_snprintf(iface, sizeof(iface), "interface=%lu",
> tt->adapter_index ); argv_printf (&argv,
> - "%s%sc interface ipv6 set address interface=%lu %s
> store=active",
> + "%s%sc interface ipv6 set address %s %s store=active",
> get_win_sys_path(),
> NETSH_PATH_SUFFIX,
> - tt->adapter_index,
> + iface,
> ifconfig_ipv6_local );
> netsh_command (&argv, 4, M_FATAL);
> }
>
> I've done a "v2" of Heiko's patch with that change included, which I'll
> append below. Samuli, could you build us a windows installer with master
> plus that patch, for "windows early alpha testing"? If that change
> works for people, we are very close to 2.4_alpha1...
ACK for the partial rollback.
Shakes fist at argv_printf(). =)
Thanks Gert
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel