mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Try getting DHCP twice
This commit is contained in:
parent
787db07c8a
commit
8a7c6eee24
@ -90,11 +90,10 @@ void Network::InitNetwork()
|
||||
{
|
||||
char myIP[16];
|
||||
|
||||
if (if_config(myIP, NULL, NULL, true) < 0)
|
||||
{
|
||||
fprintf(stderr, "\n\n\nError getting IP address via DHCP.\n");
|
||||
sleep(2);
|
||||
exit(1);
|
||||
/* Try twice */
|
||||
if (if_config(myIP, NULL, NULL, true) < 0) {
|
||||
if (if_config(myIP, NULL, NULL, true) < 0)
|
||||
TheC64->TheDisplay->display_status_string((char*)"NO DHCP ANSWER", 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user