!1253 [sync] PR-1180: fix the definition of IPV6_V6ONLY
From: @openeuler-sync-bot Reviewed-by: @jiangheng12 Signed-off-by: @jiangheng12
This commit is contained in:
commit
aa973fbc3a
25
0161-fix-the-definition-of-IPV6_V6ONLY.patch
Normal file
25
0161-fix-the-definition-of-IPV6_V6ONLY.patch
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||
Name: lwip
|
||||
Version: 2.2.0
|
||||
Release: 51
|
||||
Release: 52
|
||||
License: BSD
|
||||
URL: http://savannah.nongnu.org/projects/lwip/
|
||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||
@ -172,6 +172,7 @@ Patch9156: 0157-cleancode-refactor-offload.patch
|
||||
Patch9157: 0158-enable-sys_arch-failed-log.patch
|
||||
Patch9158: 0159-LOOPBACK-fix-loop-coredump.patch
|
||||
Patch9159: 0160-INIT-fix-lwip_init-failed-because-of-dpdk-set-errno.patch
|
||||
Patch9160: 0161-fix-the-definition-of-IPV6_V6ONLY.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -201,6 +202,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Tue Aug 13 2024 yangchen <yangchen145@huawei.com> - 2.2.0-52
|
||||
- fix the definition of IPV6_V6ONLY
|
||||
|
||||
* Sat Aug 3 2024 yinbin <yinbin8@huawei.com> - 2.2.0-51
|
||||
- INIT:fix lwip_init failed because of dpdk set errno
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user