gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 87/282: ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6


From: gnunet
Subject: [gnurl] 87/282: ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6
Date: Wed, 01 Apr 2020 14:29:12 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit defe4c08f0f43b687d744b31571032599ba462cb
Author: Harry Sintonen <address@hidden>
AuthorDate: Tue Feb 4 00:58:38 2020 +0200

    ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6
---
 lib/vquic/ngtcp2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 764f95778..0788404c0 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -1601,9 +1601,11 @@ static CURLcode ng_flush_egress(struct connectdata 
*conn, int sockfd,
   case AF_INET:
     pktlen = NGTCP2_MAX_PKTLEN_IPV4;
     break;
+#ifdef ENABLE_IPV6
   case AF_INET6:
     pktlen = NGTCP2_MAX_PKTLEN_IPV6;
     break;
+#endif
   default:
     assert(0);
   }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]