Repositories
/
olsrd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* killed lots of #ifdef ... #endif which make the source quite unreadable
[olsrd.git]
/
src
/
neighbor_table.c
diff --git
a/src/neighbor_table.c
b/src/neighbor_table.c
index
bf71e4f
..
31b1fa7
100644
(file)
--- a/
src/neighbor_table.c
+++ b/
src/neighbor_table.c
@@
-418,9
+418,7
@@
olsr_print_neighbor_table(void)
for(neigh = neighbortable[idx].next; neigh != &neighbortable[idx]; neigh = neigh->next) {
struct link_entry *lnk = get_best_link_to_neighbor(&neigh->neighbor_main_addr);
if(lnk) {
for(neigh = neighbortable[idx].next; neigh != &neighbortable[idx]; neigh = neigh->next) {
struct link_entry *lnk = get_best_link_to_neighbor(&neigh->neighbor_main_addr);
if(lnk) {
-#ifndef NODEBUG
struct ipaddr_str buf;
struct ipaddr_str buf;
-#endif
OLSR_PRINTF(1, "%-*s %5.3f %5.3f %s %s %s %d\n",
iplen,
olsr_ip_to_string(&buf, &neigh->neighbor_main_addr),
OLSR_PRINTF(1, "%-*s %5.3f %5.3f %s %s %s %d\n",
iplen,
olsr_ip_to_string(&buf, &neigh->neighbor_main_addr),