summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/table.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/table.c b/lib/table.c
index 2ade71b8..70fc0b24 100644
--- a/lib/table.c
+++ b/lib/table.c
@@ -219,23 +219,6 @@ route_unlock_node (struct route_node *node)
route_node_delete (node);
}
-/* Dump routing table. */
-static void __attribute__ ((unused))
-route_dump_node (struct route_table *t)
-{
- struct route_node *node;
- char buf[46];
-
- for (node = route_top (t); node != NULL; node = route_next (node))
- {
- printf ("[%d] %p %s/%d\n",
- node->lock,
- node->info,
- inet_ntop (node->p.family, &node->p.u.prefix, buf, 46),
- node->p.prefixlen);
- }
-}
-
/* Find matched prefix. */
struct route_node *
route_node_match (struct route_table *table, struct prefix *p)