summaryrefslogtreecommitdiffstats
path: root/win32.h
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-09-19 21:36:46 +0200
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:29 +0100
commitb7f203c8cfd2c0e412afd6f5ca0aa4eb62a031d2 (patch)
tree4d47ccfacf956e6c99b40aacc4ea28a97f1f29cc /win32.h
parent4d3df224e1210f732b84cf4273fb57993361d4ba (diff)
downloadopenvpn-b7f203c8cfd2c0e412afd6f5ca0aa4eb62a031d2.tar.gz
openvpn-b7f203c8cfd2c0e412afd6f5ca0aa4eb62a031d2.tar.xz
openvpn-b7f203c8cfd2c0e412afd6f5ca0aa4eb62a031d2.zip
* ipv6 on win32 "milestone": 1st snapshot that passes all unittests
Diffstat (limited to 'win32.h')
-rw-r--r--win32.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32.h b/win32.h
index fcc3062..6184206 100644
--- a/win32.h
+++ b/win32.h
@@ -195,7 +195,10 @@ struct overlapped_io {
DWORD flags;
int status;
bool addr_defined;
- struct sockaddr_in addr;
+ union {
+ struct sockaddr_in addr;
+ struct sockaddr_in6 addr6;
+ };
int addrlen;
struct buffer buf_init;
struct buffer buf;