Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d96b489
)
add debug output for expired tc edges
author
Markus Kittenberger
<Markus.Kittenberger@gmx.at>
Sat, 25 Apr 2009 21:39:00 +0000
(23:39 +0200)
committer
Markus Kittenberger
<Markus.Kittenberger@gmx.at>
Sat, 25 Apr 2009 21:39:00 +0000
(23:39 +0200)
src/tc_set.c
patch
|
blob
|
history
diff --git
a/src/tc_set.c
b/src/tc_set.c
index
af10b42
..
ffdf63f
100644
(file)
--- a/
src/tc_set.c
+++ b/
src/tc_set.c
@@
-362,6
+362,10
@@
olsr_expire_tc_entry(void *context)
struct tc_entry *tc;
tc = (struct tc_entry *)context;
+
+ struct ipaddr_str buf;
+ OLSR_PRINTF(3, "TCX: expired entry %s\n", olsr_ip_to_string(&buf, &tc->addr));
+
tc->validity_timer = NULL;
olsr_delete_tc_entry(tc);
@@
-379,6
+383,10
@@
olsr_expire_tc_edge_gc(void *context)
struct tc_entry *tc;
tc = (struct tc_entry *)context;
+
+ struct ipaddr_str buf;
+ OLSR_PRINTF(3, "TCX: garbaged entry %s\n", olsr_ip_to_string(&buf, &tc->addr));
+
tc->edge_gc_timer = NULL;
if (olsr_delete_outdated_tc_edges(tc)) {