stand/uboot: fix setting of gateip.s_addr
Missplaced paren. Reviewed by: imp MFC after: 1 week
This commit is contained in:
parent
031772bfcc
commit
a965e600f2
@ -187,7 +187,7 @@ get_env_net_params()
|
||||
rootip.s_addr = 0;
|
||||
return;
|
||||
}
|
||||
if ((gateip.s_addr = inet_addr(envstr) == INADDR_NONE)) {
|
||||
if ((gateip.s_addr = inet_addr(envstr)) == INADDR_NONE) {
|
||||
printf("Could not parse gatewayip '%s'\n", envstr);
|
||||
rootip.s_addr = 0;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user