diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2009-12-07 19:19:13 +0300 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2009-12-07 19:19:13 +0300 |
commit | 0d6388abc7a5da2a20a4854c400c8e176127e480 (patch) | |
tree | effe14c7fc1e958b6082685026a1c3ad92b2451a /lib | |
parent | 78e6cd98dd88393d0863388caf37dae45435db7a (diff) |
lib: remove unused function: route_dump_node()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/table.c | 17 |
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) |