Date: Tue, 29 Nov 2016 07:38:47 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427366 - head/net/libwebsockets/files Message-ID: <201611290738.uAT7clJ4023504@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611290738.uAT7clJ4023504>