summaryrefslogtreecommitdiff
path: root/cmd/lwip/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/lwip/dns.c')
-rw-r--r--cmd/lwip/dns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/lwip/dns.c b/cmd/lwip/dns.c
index fe70bdb4828..0af538e18f5 100644
--- a/cmd/lwip/dns.c
+++ b/cmd/lwip/dns.c
@@ -9,6 +9,9 @@
#include <net.h>
#include <time.h>
+U_BOOT_CMD(dns, 3, 1, do_dns, "lookup the IP of a hostname",
+ "hostname [envvar]");
+
#define DNS_RESEND_MS 1000
#define DNS_TIMEOUT_MS 10000