mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
Fixed tcp unit tests after changing routing to check for link up
This commit is contained in:
parent
36e90a1bd5
commit
94f7bcef67
@ -290,7 +290,7 @@ void test_tcp_init_netif(struct netif *netif, struct test_tcp_txcounters *txcoun
|
||||
netif->state = txcounters;
|
||||
}
|
||||
netif->output = test_tcp_netif_output;
|
||||
netif->flags |= NETIF_FLAG_UP;
|
||||
netif->flags |= NETIF_FLAG_UP | NETIF_FLAG_LINK_UP;
|
||||
ip_addr_copy(netif->netmask, *netmask);
|
||||
ip_addr_copy(netif->ip_addr, *ip_addr);
|
||||
for (n = netif_list; n != NULL; n = n->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user