提交 d509b812 编写于 作者: W Wolfgang Denk

Fix behaviour if gatewayip is not set

Patch by Robin Gilks, 23 Dec 2004
上级 84ef51a6
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix behaviour if gatewayip is not set
Patch by Robin Gilks, 23 Dec 2004
* Fix cleanup for netstart board. * Fix cleanup for netstart board.
Remove build results from repository Remove build results from repository
......
...@@ -222,8 +222,10 @@ void ArpRequest (void) ...@@ -222,8 +222,10 @@ void ArpRequest (void)
(NetOurIP & NetOurSubnetMask)) { (NetOurIP & NetOurSubnetMask)) {
if (NetOurGatewayIP == 0) { if (NetOurGatewayIP == 0) {
puts ("## Warning: gatewayip needed but not set\n"); puts ("## Warning: gatewayip needed but not set\n");
NetArpWaitReplyIP = NetArpWaitPacketIP;
} else {
NetArpWaitReplyIP = NetOurGatewayIP;
} }
NetArpWaitReplyIP = NetOurGatewayIP;
} else { } else {
NetArpWaitReplyIP = NetArpWaitPacketIP; NetArpWaitReplyIP = NetArpWaitPacketIP;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册