From b8d4d9bcecb3b190ccf288074aff685d2e9aa7d7 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 8 Mar 2021 17:13:06 +0200 Subject: [PATCH] net: dhcpv4: The client needs info about network interfaces DHCPv4 client code needs to know information when network interfaces are going down and up. So make sure that network management config options are enabled in that case. Fixes #33137 Signed-off-by: Jukka Rissanen --- subsys/net/ip/Kconfig.ipv4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/net/ip/Kconfig.ipv4 b/subsys/net/ip/Kconfig.ipv4 index 98d5804c9c1c06..cdb5a7c5ce6de1 100644 --- a/subsys/net/ip/Kconfig.ipv4 +++ b/subsys/net/ip/Kconfig.ipv4 @@ -48,6 +48,8 @@ config NET_IPV4_ACCEPT_ZERO_BROADCAST config NET_DHCPV4 bool "Enable DHCPv4 client" + select NET_MGMT + select NET_MGMT_EVENT depends on NET_UDP config NET_DHCPV4_INITIAL_DELAY_MAX