Repository : ssh://git@open-mesh.org/batman-adv
On branch : maint
commit d46bf9e69b31908d0b2eb4efad1e879ec5502490 Author: Antonio Quartulli ordex@autistici.org Date: Thu Nov 8 14:21:11 2012 +0100
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 ("batman-adv: detect not yet announced clients")
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
d46bf9e69b31908d0b2eb4efad1e879ec5502490 translation-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/translation-table.c b/translation-table.c index 64c0012..fec1a00 100644 --- a/translation-table.c +++ b/translation-table.c @@ -1502,7 +1502,7 @@ batadv_tt_response_fill_table(uint16_t tt_len, uint8_t ttvn,
memcpy(tt_change->addr, tt_common_entry->addr, ETH_ALEN); - tt_change->flags = BATADV_NO_FLAGS; + tt_change->flags = tt_common_entry->flags;
tt_count++; tt_change++;