From 06d2f9591c7d8732fb1eeaaafaca12c5ad02387b Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Tue, 24 Jul 2018 16:17:10 +0800 Subject: [PATCH] =?UTF-8?q?[lwip]=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=90=AFSNMP?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E7=BC=96=E8=AF=91=E4=BC=9A=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/Kconfig | 1 + components/net/lwip-2.0.2/src/lwipopts.h | 1 + 2 files changed, 2 insertions(+) diff --git a/components/net/Kconfig b/components/net/Kconfig index fca7d107f1..ac7a063edd 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -76,6 +76,7 @@ config RT_USING_LWIP config RT_LWIP_SNMP bool "SNMP protocol" + select RT_LWIP_STATS default n config RT_LWIP_DNS diff --git a/components/net/lwip-2.0.2/src/lwipopts.h b/components/net/lwip-2.0.2/src/lwipopts.h index 364682cba2..07901c3fa1 100644 --- a/components/net/lwip-2.0.2/src/lwipopts.h +++ b/components/net/lwip-2.0.2/src/lwipopts.h @@ -462,6 +462,7 @@ #define MEMP_STATS 1 #define PBUF_STATS 1 #define SYS_STATS 1 +#define MIB2_STATS 1 #endif /* LWIP_STATS */ /* ---------- PPP options ---------- */ -- GitLab