Enable LWIP_HAVE_LOOPIF by default when LWIP_NETIF_LOOPBACK==1 to not make loopback traffic depend on the only netif's link state

This commit is contained in:
sg 2015-08-05 22:56:10 +02:00
parent 4edade8079
commit 6e5ff1dbe8

View File

@ -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
/*