projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f4890b
)
lib/server.c: fix ipv6 support
author
Enno Boland
<g@s01.de>
Thu, 5 May 2016 23:50:04 +0000
(07:50 +0800)
committer
Andy Green
<andy@warmcat.com>
Thu, 5 May 2016 23:50:04 +0000
(07:50 +0800)
changelog
patch
|
blob
|
history
lib/server.c
patch
|
blob
|
history
diff --git
a/changelog
b/changelog
index
6b67214
..
7b1b536
100644
(file)
--- a/
changelog
+++ b/
changelog
@@
-6,6
+6,9
@@
Fixes
1) OpenSSL version tests not needed on LibreSSL and BoringSSL
+2) Fix IPV6 build breakage
+
+
v2.0.0
======
diff --git
a/lib/server.c
b/lib/server.c
index
759b5b4
..
7d989cb
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-67,7
+67,7
@@
lws_context_init_server(struct lws_context_creation_info *info,
else
#endif
#ifdef LWS_USE_IPV6
- if (LWS_IPV6_ENABLED(context))
+ if (LWS_IPV6_ENABLED(
vhost->
context))
sockfd = socket(AF_INET6, SOCK_STREAM, 0);
else
#endif