batman-adv: correctly pass the client flag on tt_response
authorAntonio Quartulli <ordex@autistici.org>
Thu, 8 Nov 2012 13:21:11 +0000 (14:21 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Fri, 16 Nov 2012 08:36:27 +0000 (09:36 +0100)
commit27b37ebfa2d2a1b6acef6f2d21c497475c9b9709
tree17cf1497fb6d26382e5680304ac1fec00928b686
parente9c00136a4754829faf885cf966c9754c7734660
batman-adv: correctly pass the client flag on tt_response

When a TT response with the full table is sent, the client flags
should be sent as well. This patch fix the flags assignment when
populating the tt_response to send back

This was introduced by 30cfd02b60e1cb16f5effb0a01f826c5bb7e4c59
("batman-adv: detect not yet announced clients")

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