batman-adv: broadcast primary OGM on all active hard-interfaces
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 26 Jun 2011 13:26:18 +0000 (15:26 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Tue, 5 Jul 2011 12:28:54 +0000 (14:28 +0200)
commit6a020ab452d38b3878903de931c162429072a7d7
tree4ab894a1b36943b6b4ea83e715e68391f2484c16
parentff66c975d5e412817f8122012760e852b4571b5e
batman-adv: broadcast primary OGM on all active hard-interfaces

The primary interface OGM has to be broadcasted on all hard-interfaces
even if the primary interface is not the first interface (if_num = 0).
Therefore the code has to compare the originating interface with the
primary interface instead of checking the if_num.

Reported-by: Linus Luessing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/send.c