svn commit: r427366 - head/net/libwebsockets/files
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Nov 29 07:38:48 UTC 2016
Author: lwhsu
Date: Tue Nov 29 07:38:47 2016
New Revision: 427366
URL: https://svnweb.freebsd.org/changeset/ports/427366
Log:
- Add patch missig in r427365
Added:
head/net/libwebsockets/files/patch-lib_server.c (contents, props changed)
Added: head/net/libwebsockets/files/patch-lib_server.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/libwebsockets/files/patch-lib_server.c Tue Nov 29 07:38:47 2016 (r427366)
@@ -0,0 +1,11 @@
+--- lib/server.c.orig 2016-11-23 13:04:24 UTC
++++ lib/server.c
+@@ -110,7 +110,7 @@ lws_context_init_server(struct lws_conte
+ if (LWS_IPV6_ENABLED(vhost)) {
+ if (vhost->options & LWS_SERVER_OPTION_IPV6_V6ONLY_MODIFY) {
+ int value = (vhost->options & LWS_SERVER_OPTION_IPV6_V6ONLY_VALUE) ? 1 : 0;
+- if (setsockopt(sockfd, SOL_IPV6, IPV6_V6ONLY,
++ if (setsockopt(sockfd, IPPROTO_IPV6, IPV6_V6ONLY,
+ (const void*)&value, sizeof(value)) < 0) {
+ compatible_close(sockfd);
+ return 1;
More information about the svn-ports-all
mailing list