net: cosmetic: Clean up DNS variables and functions

Make a thorough pass through all variables and function names contained
within dns.c and remove CamelCase and improve naming.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger
2015-04-08 01:41:15 -05:00
committed by Simon Glass
parent 6aede5b750
commit 786eac5f9d
5 changed files with 32 additions and 35 deletions

View File

@@ -393,12 +393,12 @@ int do_dns(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return CMD_RET_FAILURE;
}
NetDNSResolve = argv[1];
net_dns_resolve = argv[1];
if (argc == 3)
NetDNSenvvar = argv[2];
net_dns_env_var = argv[2];
else
NetDNSenvvar = NULL;
net_dns_env_var = NULL;
if (NetLoop(DNS) < 0) {
printf("dns lookup of %s failed, check setup\n", argv[1]);