commit | 7844d04adc3b89e91276e3048fab2c4a4993344e | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Tue Mar 25 14:08:21 2014 +0800 |
committer | Andy Green <andy.green@linaro.org> | Tue Mar 25 14:08:21 2014 +0800 |
tree | 2748e848a0cad3cd13a305852c8907d7e432b65b | |
parent | 055f2979ec0a397c28dd027925327394ef2d67de [diff] |
ipv6 client fix noticed by James Devine Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/client-handshake.c b/lib/client-handshake.c index 4a679e9..f80b9b4 100644 --- a/lib/client-handshake.c +++ b/lib/client-handshake.c
@@ -44,7 +44,7 @@ } else { ads = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_PEER_ADDRESS); -#ifdef LWS_WITH_IPV6 +#ifdef LWS_USE_IPV6 if (LWS_IPV6_ENABLED(context)) server_addr6.sin6_port = htons(wsi->u.hdr.ah->c_port); else