diff --git a/components/net/Kconfig b/components/net/Kconfig index 53d85b516d54b61eb8df764f00d2d7a0c2f0dbd0..002b4e62b8b1dfcf3280e737e02a0d70ea87aee1 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