mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Only try once
This commit is contained in:
parent
775227f24c
commit
9fc781c55e
@ -92,13 +92,10 @@ void Network::InitNetwork()
|
||||
|
||||
memset(myIP, 0, sizeof(myIP));
|
||||
Gui::gui->status_bar->queueMessage("Getting IP address via DHCP...");
|
||||
/* Try twice */
|
||||
if (if_config(myIP, NULL, NULL, true) < 0) {
|
||||
if (if_config(myIP, NULL, NULL, true) < 0)
|
||||
{
|
||||
|
||||
if (if_config(myIP, NULL, NULL, true) < 0) {
|
||||
Gui::gui->status_bar->queueMessage("No DHCP reply");
|
||||
return;
|
||||
}
|
||||
}
|
||||
Gui::gui->status_bar->queueMessage("Got an address");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user