diff options
| author | Bernard Xiong <[email protected]> | 2018-07-24 17:02:24 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-07-24 17:02:24 +0800 |
| commit | 8eaf8de704f446ef0fa23bcdffd8e2e26156b708 (patch) | |
| tree | 8ade89d1676ff3fb41ff1641acd9215b4c3ed512 | |
| parent | 94e6e293b6b1361160de09cad9ebc54190712484 (diff) | |
| parent | 06d2f9591c7d8732fb1eeaaafaca12c5ad02387b (diff) | |
Merge pull request #1660 from enkiller/dev
[lwip]修复开启SNMP选项编译会失败的问题
| -rw-r--r-- | components/net/Kconfig | 1 | ||||
| -rw-r--r-- | components/net/lwip-2.0.2/src/lwipopts.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 ---------- */ |
