batman-adv: do_bcast has to be true for broadcast packets only
authorAntonio Quartulli <ordex@autistici.org>
Wed, 21 Sep 2011 14:06:42 +0000 (16:06 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Thu, 22 Sep 2011 18:27:10 +0000 (20:27 +0200)
commit8b267b312df9343fea3bd679c509b36214b5a854
tree953a1671200e8d1b6fbb2594800b7d339a03e904
parent322a8b034003c0d46d39af85bf24fee27b902f48
batman-adv: do_bcast has to be true for broadcast packets only

corrects a critical bug of the GW feature. This bug made all the unicast
packets destined to a GW to be sent as broadcast. This bug is present even if
the sender GW feature is configured as OFF. It's an urgent bug fix and should
be committed as soon as possible.

This was a regression introduced by 43676ab590c3f8686fd047d34c3e33803eef71f0

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/soft-interface.c