summaryrefslogtreecommitdiff
path: root/cmd/net-lwip.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/net-lwip.c')
-rw-r--r--cmd/net-lwip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/net-lwip.c b/cmd/net-lwip.c
index feed719beef..c021da6a674 100644
--- a/cmd/net-lwip.c
+++ b/cmd/net-lwip.c
@@ -27,3 +27,11 @@ U_BOOT_CMD(
"[loadAddress] [[hostIPaddr:]bootfilename]"
);
#endif
+
+#if defined(CONFIG_CMD_DNS)
+U_BOOT_CMD(
+ dns, 3, 1, do_dns,
+ "lookup the IP of a hostname",
+ "hostname [envvar]"
+);
+#endif