From 9ba62ab5e6b6282f79c0d1b58738b1026bafce75 Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Thu, 2 Nov 2017 15:34:37 +0800 Subject: [PATCH] [components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP. --- components/net/KConfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/net/KConfig b/components/net/KConfig index cd758cd33a..b5f50de180 100644 --- a/components/net/KConfig +++ b/components/net/KConfig @@ -55,7 +55,7 @@ config RT_USING_LWIP default n endif - if !RT_LWIP_DHCP + menu "Static IPv4 Address" config RT_LWIP_IPADDR string "IPv4: IP address" default 192.168.1.30 @@ -67,7 +67,7 @@ config RT_USING_LWIP config RT_LWIP_MSKADDR string "IPv4: Mask address" default 255.255.255.0 - endif + endmenu config RT_LWIP_UDP bool "UDP protocol" -- GitLab