public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: tt_global_del_orig() has to print the correct message
@ 2011-09-19 10:29 Antonio Quartulli
  2011-09-21 13:48 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2011-09-19 10:29 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 translation-table.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index cc53f78..7de9960 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -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);
 			}
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: tt_global_del_orig() has to print the correct message
  2011-09-19 10:29 [B.A.T.M.A.N.] [PATCH] batman-adv: tt_global_del_orig() has to print the correct message Antonio Quartulli
@ 2011-09-21 13:48 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-09-21 13:48 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-21 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19 10:29 [B.A.T.M.A.N.] [PATCH] batman-adv: tt_global_del_orig() has to print the correct message Antonio Quartulli
2011-09-21 13:48 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox