Move nerve wrecking TC-List debug output to level 3+
authorSven-Ola Tuecke <sven-ola@gmx.de>
Wed, 8 Sep 2010 11:58:39 +0000 (13:58 +0200)
committerSven-Ola Tuecke <sven-ola@gmx.de>
Wed, 8 Sep 2010 11:58:39 +0000 (13:58 +0200)
src/olsr.c

index 43555bb..89b0b38 100644 (file)
@@ -227,7 +227,9 @@ olsr_process_changes(void)
     olsr_print_link_set();
     olsr_print_neighbor_table();
     olsr_print_two_hop_neighbor_table();
-    olsr_print_tc_table();
+    if (olsr_cnf->debug_level > 3) {
+      olsr_print_tc_table();
+    }
   }
 
   for (tmp_pc_list = pcf_list; tmp_pc_list != NULL; tmp_pc_list = tmp_pc_list->next) {