Explorar o código

[DHCPD] add DHCPD_USING_ROUTER to Kconfig.

aozima %!s(int64=7) %!d(string=hai) anos
pai
achega
3970fa573d
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      components/net/Kconfig

+ 6 - 0
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