projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: clk: bind reset driver
[oweals/u-boot.git]
/
cmd
/
net.c
diff --git
a/cmd/net.c
b/cmd/net.c
index 3b77c8952f173409b42391cd166830a25f55a862..d7c776aacf3d0745f5c9f0e34cf7958082a63896 100644
(file)
--- a/
cmd/net.c
+++ b/
cmd/net.c
@@
-331,7
+331,7
@@
int do_sntp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
char *toff;
if (argc < 2) {
- net_ntp_server =
getenv
_ip("ntpserverip");
+ net_ntp_server =
env_get
_ip("ntpserverip");
if (net_ntp_server.s_addr == 0) {
printf("ntpserverip not set\n");
return CMD_RET_FAILURE;