diff options
Diffstat (limited to 'stand/uboot')
-rw-r--r-- | stand/uboot/lib/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/uboot/lib/net.c b/stand/uboot/lib/net.c index 2e1b9ab4caa4..81b8c5bc9f5b 100644 --- a/stand/uboot/lib/net.c +++ b/stand/uboot/lib/net.c @@ -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; |