From 0d6388abc7a5da2a20a4854c400c8e176127e480 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Mon, 7 Dec 2009 19:19:13 +0300 Subject: lib: remove unused function: route_dump_node() --- lib/table.c | 17 ----------------- 1 file changed, 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) -- cgit v1.2.1