[Openvpn-devel] [PATCH] tun.h: remove TUN_PASS_BUFFER define

2019-09-09 Thread Lev Stipakov
Since the very beginning this define has only been used together with _WIN32 and code wrapped into it uses Win32 API, so it could be safely removed and replaced with _WIN32. Signed-off-by: Lev Stipakov --- src/openvpn/forward.c | 4 ++-- src/openvpn/tun.h | 2 -- 2 files changed, 2 insertion

Re: [Openvpn-devel] [PATCH] tun.h: change tun_set() return value type to void

2019-09-09 Thread David Sommerseth
On 06/09/2019 17:40, Lev Stipakov wrote: > This function's return value is never used, so make it void. > > Signed-off-by: Lev Stipakov > --- > src/openvpn/tun.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h > index 69831c4..475

Re: [Openvpn-devel] [PATCH] tun.h: remove TUN_PASS_BUFFER define

2019-09-09 Thread David Sommerseth
On 09/09/2019 10:57, Lev Stipakov wrote: > Since the very beginning this define has only > been used together with _WIN32 and code wrapped into it > uses Win32 API, so it could be safely removed and > replaced with _WIN32. > > Signed-off-by: Lev Stipakov > --- > src/openvpn/forward.c | 4 ++-- >