diff options
author | James Yonan <james@openvpn.net> | 2010-07-16 18:01:11 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-07-16 18:01:11 +0000 |
commit | b90c6f17b476b0ef1bd831f4a475425c94ba237f (patch) | |
tree | ba7a9f24437743b1c07ba8d396e0fbafadcc0762 /tun.h | |
parent | Implemented multi-address DNS expansion on the network field of route (diff) | |
download | openvpn-b90c6f17b476b0ef1bd831f4a475425c94ba237f.tar.xz |
Added --register-dns option for Windows.
Fixed some issues on Windows with --log, subprocess creation
for command execution, and stdout/stderr redirection.
Version 2.1.1m.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6304 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'tun.h')
-rw-r--r-- | tun.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -99,6 +99,8 @@ struct tuntap_options { bool dhcp_renew; bool dhcp_pre_release; bool dhcp_release; + + bool register_dns; }; #elif TARGET_LINUX @@ -335,6 +337,9 @@ void tun_show_debug (struct tuntap *tt); bool dhcp_release_by_adapter_index(const DWORD adapter_index); bool dhcp_renew_by_adapter_index (const DWORD adapter_index); +void fork_register_dns_action (struct tuntap *tt); +void ipconfig_register_dns (const struct env_set *es); + void tun_standby_init (struct tuntap *tt); bool tun_standby (struct tuntap *tt); |