]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Refactor sending commands to interactive service
authorSelva Nair <selva.nair@gmail.com>
Tue, 2 Oct 2018 20:01:14 +0000 (16:01 -0400)
committerGert Doering <gert@greenie.muc.de>
Fri, 5 Oct 2018 13:29:33 +0000 (15:29 +0200)
commit717c19300e27db8127553800cf8e0d81bd5bd5a8
tree0cf71cfb5ee8b923e9ffe0c6a7808fb44746121b
parentb4fc8bbd6b1d0211dd6982c4accedfbe4ae7e3ed
Refactor sending commands to interactive service

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 <selva.nair@gmail.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1538510474-27602-3-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17519.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c
src/openvpn/tun.c
src/openvpn/win32.c
src/openvpn/win32.h