From 6e5ff1dbe89bca8a504ea840ae8b962d23e9fc08 Mon Sep 17 00:00:00 2001 From: sg Date: Wed, 5 Aug 2015 22:56:10 +0200 Subject: [PATCH] Enable LWIP_HAVE_LOOPIF by default when LWIP_NETIF_LOOPBACK==1 to not make loopback traffic depend on the only netif's link state --- src/include/lwip/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 5ea220e2..54e25580 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -1419,7 +1419,7 @@ * netif is available, loopback traffic uses this netif. */ #ifndef LWIP_HAVE_LOOPIF -#define LWIP_HAVE_LOOPIF 0 +#define LWIP_HAVE_LOOPIF LWIP_NETIF_LOOPBACK #endif /*