From owner-svn-ports-head@freebsd.org Tue Nov 29 07:38:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B52E7C5A87D; Tue, 29 Nov 2016 07:38:48 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7DEA8167D; Tue, 29 Nov 2016 07:38:48 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAT7clJp023505; Tue, 29 Nov 2016 07:38:47 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAT7clJ4023504; Tue, 29 Nov 2016 07:38:47 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201611290738.uAT7clJ4023504@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 29 Nov 2016 07:38:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427366 - head/net/libwebsockets/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 07:38:48 -0000 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;