lwip: setup static IP if provided

Fixes #349.
This commit is contained in:
Christian Helmuth 2012-11-02 14:57:47 +01:00
parent 4d36c12d19
commit 20ddd1bcdc
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ extern "C" {
/* no IP address - no networking */
return 1;
#endif /* LWIP_DHCP */
} else {
netif_set_up(&netif);
}
} catch (Nic_not_availble) {
PWRN("NIC not available, loopback is used as default");