[components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP.

This commit is contained in:
ArdaFu 2017-11-02 15:34:37 +08:00
parent b2057f506a
commit 9ba62ab5e6
1 changed files with 2 additions and 2 deletions

View File

@ -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"