Browse Source

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

STABLE-2_1_x
goldsimon 9 years ago
parent
commit
e71dbec587
  1. 5
      src/include/netif/bridgeif_opts.h

5
src/include/netif/bridgeif_opts.h

@ -51,10 +51,11 @@
* the selected forwarding port's 'linkoutput' function.
* 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!
* == 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
#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT 0
#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT NO_SYS
#endif
/** BRIDGEIF_EXTERNAL_FDB==1: use an external implementation for the forwarding

Loading…
Cancel
Save