All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: lwip: dns depend on enabled protocol config instead of command
@ 2025-07-12  5:01 E Shattow
  2025-07-14  1:52 ` E Shattow
  0 siblings, 1 reply; 5+ messages in thread
From: E Shattow @ 2025-07-12  5:01 UTC (permalink / raw)
  To: Jerome Forissier, Joe Hershberger, Ramon Fried, Tom Rini,
	Tim Harvey
  Cc: E Shattow, u-boot

Allow dns when enabled CONFIG_PROT_DNS_LWIP=y CONFIG_CMD_DNS=n

Fixes: a383869d6b58 ("net: lwip: move dns init to common function")
Signed-off-by: E Shattow <e@freeshell.de>
---
 net/lwip/net-lwip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c
index 3918d57d7e5..5d247c3721b 100644
--- a/net/lwip/net-lwip.c
+++ b/net/lwip/net-lwip.c
@@ -147,7 +147,7 @@ static int get_udev_ipv4_info(struct udevice *dev, ip4_addr_t *ip,
  */
 int net_lwip_dns_init(void)
 {
-#if CONFIG_IS_ENABLED(CMD_DNS)
+#if CONFIG_IS_ENABLED(PROT_DNS_LWIP)
 	bool has_server = false;
 	ip_addr_t ns;
 	char *nsenv;

base-commit: 6bb0679377abb01a82db1ce69b5bf1d40aa02ace
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-19  3:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-12  5:01 [PATCH] net: lwip: dns depend on enabled protocol config instead of command E Shattow
2025-07-14  1:52 ` E Shattow
2025-07-18 10:29   ` Jerome Forissier
2025-07-18 13:25     ` Quentin Schulz
2025-07-19  3:04       ` E Shattow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.