lwip/0170-IPV6-Enable-IPV6_FRAG_COPYHEADER-macro-to-adapt-64bi.patch
yinbin 2e2145bdbc bugfix: fix memery errors detected by cooddy
(cherry picked from commit 2e88021dd3023ae87fd8b57345447f8ca9e5ed83)
2024-10-18 15:03:43 +08:00

26 lines
662 B
Diff

From d451214b0761977f016ef0d7b248847d5cc643f5 Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Sat, 12 Oct 2024 17:36:27 +0800
Subject: [PATCH 1/3] IPV6: Enable IPV6_FRAG_COPYHEADER macro to adapt 64bit
env
---
src/include/lwipopts.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
index c3ecb21..c46dce9 100644
--- a/src/include/lwipopts.h
+++ b/src/include/lwipopts.h
@@ -187,6 +187,7 @@
#define LWIP_IPV6 1
#define IP6_HLEN 40
#define LWIP_IPV6_SCOPES 1
+#define IPV6_FRAG_COPYHEADER 1
/*
---------------------------------
--
2.34.1