Browse Source

[DHCPD] add DHCPD_USING_ROUTER to Kconfig.

aozima 7 năm trước cách đây
mục cha
commit
3970fa573d
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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