Browse Source

[DHCPD] add DHCPD_USING_ROUTER to Kconfig.

aozima 7 years ago
parent
commit
3970fa573d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      components/net/Kconfig

+ 6 - 0
components/net/Kconfig

@@ -201,6 +201,12 @@ config LWIP_USING_DHCPD
     bool "Enable DHCP server"
     bool "Enable DHCP server"
     default n
     default n
 
 
+    if LWIP_USING_DHCPD
+        config DHCPD_USING_ROUTER
+            bool "alloc gateway ip for router"
+            default y
+    endif
+
 endif
 endif
 
 
 endmenu
 endmenu