]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Enable dhcp on tap adapter using interactive service
authorSelva Nair <selva.nair@gmail.com>
Tue, 2 Oct 2018 20:01:13 +0000 (16:01 -0400)
committerGert Doering <gert@greenie.muc.de>
Fri, 5 Oct 2018 13:03:21 +0000 (15:03 +0200)
commitb4fc8bbd6b1d0211dd6982c4accedfbe4ae7e3ed
tree6d0aa655ab8545d42e04a0c2040d30c3ce6c6adc
parenta29b60c9577a7ea1302cd761645234a174a7e3cb
Enable dhcp on tap adapter using interactive service

Currently, if dhcp on the TAP interface is disabled, OpenVPN
on Windows tries to enable it using netsh but that succeeds only when
run with admin privileges.

When interactive service is available, delegate this task to the
service.

Trac: #1111
Tested on Windows 7

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1538510474-27602-2-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17517.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
include/openvpn-msg.h
src/openvpn/tun.c
src/openvpnserv/interactive.c