[Openvpn-devel,03/13] RtlIpv6AddressToStringW() and RtlIpv4AddressToStringW() require mstcpip.h
| Message ID | 20171010231130.6832-3-simon@rozman.si |
|---|---|
| State | Accepted |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director3.mail.ord1d.rsapps.net ([172.30.157.9]) by backend31.mail.ord1d.rsapps.net (Dovecot) with LMTP id ib4PGPpT3Vn8EAAAgoeIoA for <patchwork@openvpn.net>; Tue, 10 Oct 2017 19:12:58 -0400 Received: from director8.mail.ord1c.rsapps.net ([172.28.130.196]) by director3.mail.ord1d.rsapps.net (Dovecot) with LMTP id kdzuF/pT3VkxOAAAkXNnRw ; Tue, 10 Oct 2017 19:12:58 -0400 Received: from smtp21.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by director8.mail.ord1c.rsapps.net (Dovecot) with LMTP id n3nuH4JT3VktDgAAPBwpBw ; Tue, 10 Oct 2017 19:12:58 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-MessageSniffer-Scan-Result: 0 X-MessageSniffer-Rules: 0-298-1019-1222-w 0-298-1019-1586-w 0-298-0-6599-f X-CMAE-Scan-Result: 0 X-CNFS-Analysis: v=2.2 cv=asPwMmRV c=1 sm=1 tr=0 a=Q8DxjiC8O3VT/NpP1XjEZQ==:117 a=Q8DxjiC8O3VT/NpP1XjEZQ==:17 a=kj9zAlcOel0A:10 a=3GLR1-XzZKwA:10 a=02M-m0pO-4AA:10 a=WiVod9pSvdkA:10 a=9sSjY8p1AAAA:8 a=P_JWiMecAAAA:8 a=FP58Ms26AAAA:8 a=mkmQqGwGvsM5QENDagQA:9 a=CjuIK1q_8ugA:10 a=-FEs8UIgK8oA:10 a=NWVoK91CQyQA:10 a=ub54wNWiXv_DzeFsgEJW:22 a=D0-HAvA3Hk9NMREbgwuX:22 X-Orig-To: justin@openvpn.net X-Originating-Ip: [216.34.181.88] Authentication-Results: smtp21.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.34.181.88"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=rozman.si; dmarc=fail (p=none; dis=none) header.from=rozman.si X-Classification-ID: 8de3d8fe-ae10-11e7-8701-a0369f0d8808-1-1 Received: from [216.34.181.88] ([216.34.181.88:55158] helo=lists.sourceforge.net) by smtp21.gate.ord1c.rsapps.net (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) (ecelerity 4.2.1.56364 r(Core:4.2.1.14)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id FD/A1-25686-AF35DD95; Tue, 10 Oct 2017 19:12:58 -0400 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1e23gh-0003XT-MR; Tue, 10 Oct 2017 23:11:47 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from <simon@rozman.si>) id 1e23ge-0003X8-4P for openvpn-devel@lists.sourceforge.net; Tue, 10 Oct 2017 23:11:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=F3oduWxL+JEzhUB28WK2O4M9W3eQ7PRX8YcrIoCzt6U=; b=Z3A4PXV3+hfycR+VG1U04LQIp6D04uCPsxxcnyoJJNjynYgGnI3E9OzfuAB1lYg+9yJFhGWZ9IKkgPbqljZ5rLXmrlYlqQG/mAoQdBugR2h4wKRTgkLOmyalCcPDIMHqNwMseGL6gutAZEXYei9BdJ1KakMYD6Ua5pIyH9ugKnQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=F3oduWxL+JEzhUB28WK2O4M9W3eQ7PRX8YcrIoCzt6U=; b=XxK30xLcUUnp0xeLfOQVVFRBuEwd3xHHYYHNEXvdd3PW9QYisjpACAKFKUXRXG9T25Y+A312qbIAD9D4AvGlhSUygmRxP0Q1gooo6MdNRvtp/QZxbvta6o3ssi3e0I80vLW3sFL/fm5sTDjsM13GEan1rnaNjeLHIjPZ7AORWW8=; Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of rozman.si designates 89.212.80.145 as permitted sender) client-ip=89.212.80.145; envelope-from=simon@rozman.si; helo=amebis01.amebis.si; Received: from amebis01.amebis.si ([89.212.80.145]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1e23gb-0000xw-7m for openvpn-devel@lists.sourceforge.net; Tue, 10 Oct 2017 23:11:44 +0000 Received: from SR5.amebis.doma (unknown [192.168.100.253]) by amebis01.amebis.si (Postfix) with ESMTP id 53508405F2; Wed, 11 Oct 2017 01:11:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rozman.si; s=default; t=1507677092; bh=ZFzkxN397P/2N7c47jCLMnRxb1ouRUs56ukFWVKXN2c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=M70Jalf0D77eN74vLgQQxf3QXYxRfTq8XFSfwW5wtBPbiFKcXpBMcXtJtvPg0Qciv AT2gQ45cmkifef0IqTlji9/fGW20R4gAXYHmkRLtQEggvrxMT7p/E/TpyoDAOA1Bp9 9XlyqDDTgmYEBjmE9B2aiEIHPl75g1EAAczuVqAI= From: simon@rozman.si To: openvpn-devel@lists.sourceforge.net Date: Wed, 11 Oct 2017 01:11:20 +0200 Message-Id: <20171010231130.6832-3-simon@rozman.si> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20171010231130.6832-1-simon@rozman.si> References: <20171010231130.6832-1-simon@rozman.si> X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [89.212.80.145 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.2 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1e23gb-0000xw-7m Subject: [Openvpn-devel] [PATCH 03/13] RtlIpv6AddressToStringW() and RtlIpv4AddressToStringW() require mstcpip.h X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox |
| Series |
[Openvpn-devel,01/13] snwprintf() => _snwprintf()
|
|
Commit Message
Simon Rozman
Oct. 10, 2017, 12:11 p.m. UTC
From: Simon Rozman <simon@rozman.si>
---
src/openvpnserv/interactive.c | 1 +
1 file changed, 1 insertion(+)
Comments
Hi, On Tue, Oct 10, 2017 at 7:11 PM, <simon@rozman.si> wrote: > From: Simon Rozman <simon@rozman.si> > > --- > src/openvpnserv/interactive.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c > index 4b08086..2019d38 100644 > --- a/src/openvpnserv/interactive.c > +++ b/src/openvpnserv/interactive.c > @@ -33,6 +33,7 @@ > #include <stdio.h> > #include <sddl.h> > #include <shellapi.h> > +#include <mstcpip.h> > > #ifdef HAVE_VERSIONHELPERS_H > #include <versionhelpers.h> > In mingw build mstcpip.h gets pulled-in though ws2tcpip.h but MSDN says to explicitly include it for RtlIpv4AddressToStringW etc. Anyway mingw is still happy at least with this order of includes, so looks good to me. ACK. Selva <div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 7:11 PM, <span dir="ltr"><<a href="mailto:simon@rozman.si" target="_blank">simon@rozman.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Simon Rozman <<a href="mailto:simon@rozman.si" target="_blank">simon@rozman.si</a>><br> <br> ---<br> src/openvpnserv/interactive.c | 1 +<br> 1 file changed, 1 insertion(+)<br> <br> diff --git a/src/openvpnserv/interactive.<wbr>c b/src/openvpnserv/interactive.<wbr>c<br> index 4b08086..2019d38 100644<br> --- a/src/openvpnserv/interactive.<wbr>c<br> +++ b/src/openvpnserv/interactive.<wbr>c<br> @@ -33,6 +33,7 @@<br> #include <stdio.h><br> #include <sddl.h><br> #include <shellapi.h><br> +#include <mstcpip.h><br> <br> #ifdef HAVE_VERSIONHELPERS_H<br> #include <versionhelpers.h><br></blockquote><div><br></div><div>In mingw build mstcpip.h gets pulled-in though ws2tcpip.h but MSDN says to explicitly include it for RtlIpv4AddressToStringW etc.</div><div><br></div><div>Anyway mingw is still happy at least with this order of includes, so looks good to me.</div><div><br></div><div>ACK.</div><div><br>Selva</div></div></div></div> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Your patch has been applied to the master and release/2.4 branch.
commit 55305a2fc66a768cbbf152da9092400590504574 (master)
commit 0e91a2ddb79f34a8cb361cda2f4d4a1df39d3c18 (release/2.4)
Author: Simon Rozman
Date: Wed Oct 11 01:11:20 2017 +0200
RtlIpv6AddressToStringW() and RtlIpv4AddressToStringW() require mstcpip.h
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20171010231130.6832-3-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15582.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c index 4b08086..2019d38 100644 --- a/src/openvpnserv/interactive.c +++ b/src/openvpnserv/interactive.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <sddl.h> #include <shellapi.h> +#include <mstcpip.h> #ifdef HAVE_VERSIONHELPERS_H #include <versionhelpers.h>