From 5d8801d4687035ae45143f0f3bc3eeaf75dc17ec Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 11 Aug 2014 23:26:36 +0200 Subject: Upgrade code to iodine 0.7.0 and improve logging --- jni/iodine/src/windows.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'jni/iodine/src/windows.h') diff --git a/jni/iodine/src/windows.h b/jni/iodine/src/windows.h index 7e0e16c..c665a60 100644 --- a/jni/iodine/src/windows.h +++ b/jni/iodine/src/windows.h @@ -1,5 +1,6 @@ /* - * Copyright (c) 2006-2009 Bjorn Andersson , Erik Ekman + * Copyright (c) 2006-2014 Erik Ekman , + * 2006-2009 Bjorn Andersson * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -19,9 +20,9 @@ typedef unsigned int in_addr_t; +#include #include #include -#include #include #include @@ -94,7 +95,8 @@ DWORD WINAPI tun_reader(LPVOID arg); struct tun_data { HANDLE tun; int sock; - struct sockaddr_in addr; + struct sockaddr_storage addr; + int addrlen; }; #endif -- cgit v1.2.1