From e71dbec587574f4d77d4253d4b2dd0ecd7aa3df6 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 16 Mar 2017 09:18:28 +0100 Subject: [PATCH] bridgeif: fix compiling with NO_SYS==1 by changing default value of BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT --- src/include/netif/bridgeif_opts.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/netif/bridgeif_opts.h b/src/include/netif/bridgeif_opts.h index 4774d3a3..9abe0242 100644 --- a/src/include/netif/bridgeif_opts.h +++ b/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