26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 0a58b077d732412602e41f7328a0a470358119e2 Mon Sep 17 00:00:00 2001
|
|
From: yangchen <yangchen145@huawei.com>
|
|
Date: Tue, 13 Aug 2024 11:17:48 +0800
|
|
Subject: [PATCH] fix the definition of IPV6_V6ONLY
|
|
|
|
---
|
|
src/include/lwip/sockets.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h
|
|
index a5364c7..205a9d3 100644
|
|
--- a/src/include/lwip/sockets.h
|
|
+++ b/src/include/lwip/sockets.h
|
|
@@ -373,7 +373,7 @@ struct linger {
|
|
* Options for level IPPROTO_IPV6
|
|
*/
|
|
#define IPV6_CHECKSUM 7 /* RFC3542: calculate and insert the ICMPv6 checksum for raw sockets. */
|
|
-#define IPV6_V6ONLY 27 /* RFC3493: boolean control to restrict AF_INET6 sockets to IPv6 communications only. */
|
|
+#define IPV6_V6ONLY 26 /* RFC3493: boolean control to restrict AF_INET6 sockets to IPv6 communications only. */
|
|
#define IPV6_RECVPKTINFO 49 /* Recv IPV6_PKTINFO message */
|
|
#define IPV6_PKTINFO 50
|
|
#define IPV6_RECVHOPLIMIT 51 /* Recv IPV6_HOPLIMIT message */
|
|
--
|
|
2.33.0
|
|
|