It is not necessary to re-broadcast a received broadcast packet on the rx-device when it is a standard ethernet device. The link medium already takes care of transporting it to all participants in the broadcast domain.
The re-broadcast on other devices is still necessary to allow the broadcast packet to be received by devices which are using a different link medium.
Signed-off-by: Sven Eckelmann sven@narfation.org --- net/batman-adv/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index aad4a3a..ddad99d 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -96,7 +96,7 @@ #define BATADV_LOG_BUF_LEN 8192 /* has to be a power of 2 */
/* number of packets to send for broadcasts on different interface types */ -#define BATADV_NUM_BCASTS_SAMEIF 1 +#define BATADV_NUM_BCASTS_SAMEIF 0 #define BATADV_NUM_BCASTS_OTHERIF 1 #define BATADV_NUM_BCASTS_WIRELESS 3 #define BATADV_NUM_BCASTS_MAX 3