summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsdb.c
diff options
context:
space:
mode:
authorpaul <paul>2003-04-04 02:35:27 +0000
committerpaul <paul>2003-04-04 02:35:27 +0000
commit81b3c9c636807877beaeed741ab8fef764959ab1 (patch)
treef79070fc938ed467c7e16f5a5bbd71e4b38f87f7 /ospfd/ospf_lsdb.c
parentef43a3dc3618e2e7836a9bf76572a69d94c4b4fe (diff)
downloadquagga-zebra_org_20030404.tar.bz2
quagga-zebra_org_20030404.tar.xz
Import of Zebra CVS 20030404-03:35zebra_org_20030404
Diffstat (limited to 'ospfd/ospf_lsdb.c')
-rw-r--r--ospfd/ospf_lsdb.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ospfd/ospf_lsdb.c b/ospfd/ospf_lsdb.c
index 46d8d705..71a98ddc 100644
--- a/ospfd/ospf_lsdb.c
+++ b/ospfd/ospf_lsdb.c
@@ -282,18 +282,3 @@ ospf_lsdb_isempty (struct ospf_lsdb *lsdb)
{
return (lsdb->total == 0);
}
-
-struct ospf_lsa *
-foreach_lsa (struct route_table *table, void *p_arg, int int_arg,
- int (*callback) (struct ospf_lsa *, void *, int))
-{
- struct route_node *rn;
- struct ospf_lsa *lsa;
-
- for (rn = route_top (table); rn; rn = route_next (rn))
- if ((lsa = rn->info) != NULL)
- if (callback (lsa, p_arg, int_arg))
- return lsa;
-
- return NULL;
-}