From a9c802b2a3f77f2b906e22f582681cdec0790c32 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 22 Dec 2005 18:09:40 +0000 Subject: --ip-win32 adaptive is now the default. --ip-win32 netsh (or --ip-win32 adaptive when in netsh mode) can now set DNS/WINS addresses on the TAP-Win32 adapter. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@857 e7ae566f-a301-0410-adde-c780ea21d3b5 --- tun.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tun.h') diff --git a/tun.h b/tun.h index 6f66961..082a6fc 100644 --- a/tun.h +++ b/tun.h @@ -326,7 +326,7 @@ bool dhcp_release (const struct tuntap *tt); bool dhcp_renew (const struct tuntap *tt); void tun_standby_init (struct tuntap *tt); -void tun_standby (struct tuntap *tt); +bool tun_standby (struct tuntap *tt); int tun_read_queue (struct tuntap *tt, int maxsize); int tun_write_queue (struct tuntap *tt, struct buffer *buf); @@ -392,9 +392,10 @@ tun_standby_init (struct tuntap *tt) { } -static inline void +static inline bool tun_standby (struct tuntap *tt) { + return true; } #endif -- cgit