summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2025-07-18 12:48:48 +0200
committerJerome Forissier <[email protected]>2025-08-18 15:47:58 +0200
commit512be8979666a9c62e5ffb8f331d6cd3052623a4 (patch)
tree0664b221f61b522bb87570828193e5d423542d8a /include
parent425f9839f3c2922a36efaefa53833f0abe681be0 (diff)
net: introduce CONFIG_DNS
Introduce the DNS Kconfig symbol so that various network commands may use host names without the dns command (CMD_DNS) being selected. Signed-off-by: Jerome Forissier <[email protected]> CC: E Shattow <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/net-legacy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net-legacy.h b/include/net-legacy.h
index 050fc352920..9564e97d238 100644
--- a/include/net-legacy.h
+++ b/include/net-legacy.h
@@ -315,7 +315,7 @@ extern u32 net_boot_file_size;
/* Boot file size in blocks as reported by the DHCP server */
extern u32 net_boot_file_expected_size_in_blocks;
-#if defined(CONFIG_CMD_DNS)
+#if defined(CONFIG_DNS)
extern char *net_dns_resolve; /* The host to resolve */
extern char *net_dns_env_var; /* the env var to put the ip into */
#endif