mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
parent
8f0c789ed4
commit
4f541538bd
@ -67,15 +67,6 @@ static void select_notify()
|
|||||||
void init_network()
|
void init_network()
|
||||||
{
|
{
|
||||||
PINF("--- noux: initialize network ---");
|
PINF("--- noux: initialize network ---");
|
||||||
|
|
||||||
/**
|
|
||||||
* NOTE: we only call lwip_nic_init() because
|
|
||||||
* lwip_tcpip_init() was already called by libc_lwip's
|
|
||||||
* constructor and we don't want to have another tcpip
|
|
||||||
* thread.
|
|
||||||
*/
|
|
||||||
|
|
||||||
lwip_nic_init(0, 0, 0);
|
|
||||||
|
|
||||||
if (!libc_select_notify)
|
if (!libc_select_notify)
|
||||||
libc_select_notify = select_notify;
|
libc_select_notify = select_notify;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
TARGET = noux_net
|
TARGET = noux_net
|
||||||
LIBS += alarm libc libc_lwip config
|
LIBS += alarm libc libc_lwip_nic_dhcp config
|
||||||
|
|
||||||
SRC_CC = main.cc net.cc
|
SRC_CC = main.cc net.cc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user