projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: Rename getenv/_f() to env_get()
[oweals/u-boot.git]
/
net
/
dns.c
diff --git
a/net/dns.c
b/net/dns.c
index 7017bac75af5faf7a99ce2e17ee088bcc6fd5a32..eee8a02f7c4fbe2485263b8b6666a38546f27be7 100644
(file)
--- a/
net/dns.c
+++ b/
net/dns.c
@@
-184,7
+184,7
@@
static void dns_handler(uchar *pkt, unsigned dest, struct in_addr sip,
ip_to_string(ip_addr, ip_str);
printf("%s\n", ip_str);
if (net_dns_env_var)
-
setenv
(net_dns_env_var, ip_str);
+
env_set
(net_dns_env_var, ip_str);
} else {
puts("server responded with invalid IP number\n");
}