Skip to contentSkip to conversation

batman-adv: tt_global_del_orig() has to print the correct message

PATCH Applied Antonio Quartulli 2 participants 2 messages Sep 19, 2011 – Sep 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: tt_global_del_orig() has to print the correct message

When deleting the entries, tt_global_del_orig() has to print the message passed as argument instead of a static one.

---
 translation-table.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
translation-table.c +3 -2
index cc53f78..7de9960 100644
@@ -720,9 +720,10 @@ void tt_global_del_orig(struct bat_priv *bat_priv,
 			if (tt_global_entry->orig_node == orig_node) {
 				bat_dbg(DBG_TT, bat_priv,
 					"Deleting global tt entry %pM "
-					"(via %pM): originator time out\n",
+					"(via %pM): %s\n",
 					tt_global_entry->addr,
-					tt_global_entry->orig_node->orig);
+					tt_global_entry->orig_node->orig,
+					message);
 				hlist_del_rcu(node);
 				tt_global_entry_free_ref(tt_global_entry);
 			}
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 2 lines · On Monday, September 19, 2011 12:29:19 Antonio Quartulli wrote:

When deleting the entries, tt_global_del_orig() has to print the message passed as argument instead of a static one.

Applied in revision 6ec6655.

Thanks,
Marek