14 Jun 2012 23:27
[PATCH] batman-adv: don't redirect tt_request for me
If a tt_request is directed to me, it never has to be redirected Signed-off-by: Antonio Quartulli <ordex@...> --- translation-table.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/translation-table.c b/translation-table.c index 2a6d7d6..c32c5f6 100644 --- a/translation-table.c +++ b/translation-table.c <at> <at> -1648,7 +1648,7 <at> <at> out: } -static bool +static void batadv_send_my_tt_response(struct batadv_priv *bat_priv, struct batadv_tt_query_packet *tt_request) { <at> <at> -1656,7 +1656,6 <at> <at> batadv_send_my_tt_response(struct batadv_priv *bat_priv, struct batadv_neigh_node *neigh_node = NULL; struct batadv_hard_iface *primary_if = NULL; uint8_t my_ttvn, req_ttvn, ttvn; - int ret = false; unsigned char *tt_buff; bool full_table; uint16_t tt_len, tt_tot; <at> <at> -1751,7 +1750,6 <at> <at> batadv_send_my_tt_response(struct batadv_priv *bat_priv, batadv_inc_counter(bat_priv, BATADV_CNT_TT_RESPONSE_TX);(Continue reading)
RSS Feed