From 9321f760614449a51bba407712d060e8041921d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuli=20Sepp=C3=A4nen?= <samuli@openvpn.net>
Date: Thu, 26 May 2011 16:41:55 +0300
Subject: [PATCH] Additional Visual Studio 2008 build fixes to tun.c
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Tested-by: Samuli Seppänen <samuli@openvpn.net>
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
---
tun.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tun.c b/tun.c
index 8cdd248..3cf2e3e 100644
a
|
b
|
close_tun (struct tuntap *tt) |
4865 | 4865 | { |
4866 | 4866 | if ( tt->ipv6 && tt->did_ifconfig_ipv6_setup ) |
4867 | 4867 | { |
| 4868 | const char *ifconfig_ipv6_local; |
4868 | 4869 | struct argv argv; |
4869 | 4870 | argv_init (&argv); |
4870 | 4871 | |
… |
… |
close_tun (struct tuntap *tt) |
4872 | 4873 | delete_route_connected_v6_net(tt, NULL); |
4873 | 4874 | |
4874 | 4875 | /* netsh interface ipv6 delete address \"%s\" %s */ |
4875 | | const char * ifconfig_ipv6_local = print_in6_addr (tt->local_ipv6, 0, &gc); |
| 4876 | ifconfig_ipv6_local = print_in6_addr (tt->local_ipv6, 0, &gc); |
4876 | 4877 | argv_printf (&argv, |
4877 | 4878 | "%s%sc interface ipv6 delete address %s %s", |
4878 | 4879 | get_win_sys_path(), |