summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authoraozima <[email protected]>2018-05-09 17:29:07 +0800
committeraozima <[email protected]>2018-05-09 17:55:16 +0800
commit3970fa573dbb91f19b791d10f0085824f7a57ec8 (patch)
tree1bf8949686dd0df7b3900ff693adc4167cc0bb90 /components
parentf56647c08b2003feeb56efe872b5fbe90e50039b (diff)
[DHCPD] add DHCPD_USING_ROUTER to Kconfig.
Diffstat (limited to 'components')
-rw-r--r--components/net/Kconfig6
1 files changed, 6 insertions, 0 deletions
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