diff --git a/components/net/Kconfig b/components/net/Kconfig index 53d85b516d..002b4e62b8 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -201,6 +201,12 @@ config LWIP_USING_DHCPD bool "Enable DHCP server" default n + if LWIP_USING_DHCPD + config DHCPD_USING_ROUTER + bool "alloc gateway ip for router" + default y + endif + endif endmenu