From 94f7bcef67028f411bd1bbbea26c8331e80c6479 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 20 Mar 2015 08:31:39 +0100 Subject: [PATCH] Fixed tcp unit tests after changing routing to check for link up --- test/unit/tcp/tcp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/tcp/tcp_helper.c b/test/unit/tcp/tcp_helper.c index f3b98be9..d947a7b9 100644 --- a/test/unit/tcp/tcp_helper.c +++ b/test/unit/tcp/tcp_helper.c @@ -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) {