opt.h: Add LWIP_NETIF_CALLBACK (to avoid compiler warning) and set it to 0.

This commit is contained in:
fbernon
2007-03-21 15:35:02 +00:00
parent bb34d8cfd1
commit 766159e27e
2 changed files with 9 additions and 1 deletions

View File

@@ -379,6 +379,11 @@ a lot of data that needs to be copied, this should be set high. */
#define TCP_SNDLOWAT TCP_SND_BUF/2
#endif
/* Support network interface callbacks */
#ifndef LWIP_NETIF_CALLBACK
#define LWIP_NETIF_CALLBACK 0
#endif
/* Support loop interface (127.0.0.1) */
#ifndef LWIP_HAVE_LOOPIF
#define LWIP_HAVE_LOOPIF 0