mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
Fix behaviour if gatewayip is not set
Patch by Robin Gilks, 23 Dec 2004
This commit is contained in:
@@ -222,8 +222,10 @@ void ArpRequest (void)
|
||||
(NetOurIP & NetOurSubnetMask)) {
|
||||
if (NetOurGatewayIP == 0) {
|
||||
puts ("## Warning: gatewayip needed but not set\n");
|
||||
NetArpWaitReplyIP = NetArpWaitPacketIP;
|
||||
} else {
|
||||
NetArpWaitReplyIP = NetOurGatewayIP;
|
||||
}
|
||||
NetArpWaitReplyIP = NetOurGatewayIP;
|
||||
} else {
|
||||
NetArpWaitReplyIP = NetArpWaitPacketIP;
|
||||
}
|
||||
|
Reference in New Issue
Block a user