aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-11-08 08:21:11 -0500
committerAntonio Quartulli <ordex@autistici.org>2012-11-16 03:36:27 -0500
commit27b37ebfa2d2a1b6acef6f2d21c497475c9b9709 (patch)
tree17cf1497fb6d26382e5680304ac1fec00928b686 /net/batman-adv
parente9c00136a4754829faf885cf966c9754c7734660 (diff)
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>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/translation-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index 64c00120c9f0..fec1a00a0699 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -1502,7 +1502,7 @@ batadv_tt_response_fill_table(uint16_t tt_len, uint8_t ttvn,
1502 1502
1503 memcpy(tt_change->addr, tt_common_entry->addr, 1503 memcpy(tt_change->addr, tt_common_entry->addr,
1504 ETH_ALEN); 1504 ETH_ALEN);
1505 tt_change->flags = BATADV_NO_FLAGS; 1505 tt_change->flags = tt_common_entry->flags;
1506 1506
1507 tt_count++; 1507 tt_count++;
1508 tt_change++; 1508 tt_change++;