mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Messages for network
This commit is contained in:
parent
44625b2daa
commit
ac2cf3d847
@ -87,11 +87,13 @@ void Network::InitNetwork()
|
|||||||
{
|
{
|
||||||
char myIP[16];
|
char myIP[16];
|
||||||
|
|
||||||
|
Gui::gui->status_bar->queueMessage("Getting IP address via DHCP...");
|
||||||
/* Try twice */
|
/* 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)
|
if (if_config(myIP, NULL, NULL, true) < 0)
|
||||||
Gui::gui->status_bar->queueMessage("No DHCP reply");
|
Gui::gui->status_bar->queueMessage("No DHCP reply");
|
||||||
}
|
}
|
||||||
|
Gui::gui->status_bar->queueMessage("Got an address");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Network::ShutdownNetwork()
|
void Network::ShutdownNetwork()
|
||||||
|
Loading…
Reference in New Issue
Block a user