aboutsummaryrefslogtreecommitdiff
path: root/tun.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-22 18:09:40 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-22 18:09:40 +0000
commita9c802b2a3f77f2b906e22f582681cdec0790c32 (patch)
treebef37f7bb1a685d9d0b8983016668019721dc588 /tun.h
parentFixed bug in automatic Win32 PATH setting code. (diff)
downloadopenvpn-a9c802b2a3f77f2b906e22f582681cdec0790c32.tar.xz
--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
Diffstat (limited to 'tun.h')
-rw-r--r--tun.h5
1 files changed, 3 insertions, 2 deletions
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