summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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