On Wednesday, October 12, 2011 15:10:58 Antonio Quartulli wrote:
if (tt_query->flags & TT_FULL_TABLE)
tt_len = tt_query->tt_data * ETH_ALEN;
Odd, I had the feeling the full table also uses 'struct tt_change' and not plain ethernet addresses anymore.
From translation-table.c (send_my_tt_response): tt_len = (uint16_t)atomic_read(&bat_priv->num_local_tt) * sizeof(struct tt_change);
Regards, Marek