bridgeif: fix compiling with NO_SYS==1 by changing default value of BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT

This commit is contained in:
goldsimon 2017-03-16 09:18:28 +01:00
parent b9a40a5163
commit e71dbec587

View File

@ -51,10 +51,11 @@
* the selected forwarding port's 'linkoutput' function. * the selected forwarding port's 'linkoutput' function.
* This means that the bridgeif input/output path is protected from concurrent access * This means that the bridgeif input/output path is protected from concurrent access
* but as well, the port netif's drivers must correctly handle concurrent access! * but as well, the port netif's drivers must correctly handle concurrent access!
* == 0 (default): get into tcpip_thread for every input packet (no multithreading) * == 0: get into tcpip_thread for every input packet (no multithreading)
* ATTENTION: as ==0 relies on tcpip.h, the default depends on NO_SYS setting
*/ */
#ifndef BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT #ifndef BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT
#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT 0 #define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT NO_SYS
#endif #endif
/** BRIDGEIF_EXTERNAL_FDB==1: use an external implementation for the forwarding /** BRIDGEIF_EXTERNAL_FDB==1: use an external implementation for the forwarding