This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 37c0cdd1a dhcp: Make the option dependence work for usrsock case
37c0cdd1a is described below

commit 37c0cdd1a6b79b6c615621cd02d13f17985b8b7a
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sun Nov 20 11:13:33 2022 +0800

    dhcp: Make the option dependence work for usrsock case
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 netutils/dhcpc/Kconfig | 2 +-
 netutils/dhcpd/Kconfig | 2 +-
 system/dhcpc/Kconfig   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/netutils/dhcpc/Kconfig b/netutils/dhcpc/Kconfig
index 2862e0ce7..d82b1edf0 100644
--- a/netutils/dhcpc/Kconfig
+++ b/netutils/dhcpc/Kconfig
@@ -6,7 +6,7 @@
 config NETUTILS_DHCPC
        bool "DHCP client"
        default n
-       depends on NET_UDP && NET_BROADCAST && NET_IPv4
+       depends on NET_UDP
        select NET_BINDTODEVICE if !NET_UDP_NO_STACK
        ---help---
                Enable support for the DHCP client.
diff --git a/netutils/dhcpd/Kconfig b/netutils/dhcpd/Kconfig
index c595b079a..0c1d0b24a 100644
--- a/netutils/dhcpd/Kconfig
+++ b/netutils/dhcpd/Kconfig
@@ -6,7 +6,7 @@
 config NETUTILS_DHCPD
        bool "DHCP server"
        default n
-       depends on NET_UDP && NET_IPv4
+       depends on NET_UDP
        ---help---
                Enable support for the DHCP server.
 
diff --git a/system/dhcpc/Kconfig b/system/dhcpc/Kconfig
index f6794344d..bac4d3881 100644
--- a/system/dhcpc/Kconfig
+++ b/system/dhcpc/Kconfig
@@ -7,7 +7,7 @@ config SYSTEM_DHCPC_RENEW
        tristate "DHCP Address Renewal"
        default n
        select NETUTILS_DHCPC
-       depends on NET_UDP && NET_BROADCAST && NET_IPv4 && NET_ETHERNET
+       depends on NET_UDP
        ---help---
                Enable the DHCP client 'renew' command
 

Reply via email to