From: Selva Nair
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 #
Tested on Windows 7
Signed-off-by:
From: Selva Nair
Only refactoring to reduce code-duplication, no functional changes.
Signed-off-by: Selva Nair
---
src/openvpnserv/common.c | 16 +++-
src/openvpnserv/interactive.c | 23 ++-
src/openvpnserv/service.h | 3 +++
3 files changed, 24 insert
From: Selva Nair
Move writing the message buffer to the interactive service pipe and
reading acknowledgement to a function.
A minor bug in open_tun where the ack data could be read even after
a communication error is fixed.
Signed-off-by: Selva Nair
---
src/openvpn/route.c | 6 +-
src/op