diff options
author | paul <paul> | 2003-04-04 02:35:27 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-04 02:35:27 +0000 |
commit | 81b3c9c636807877beaeed741ab8fef764959ab1 (patch) | |
tree | f79070fc938ed467c7e16f5a5bbd71e4b38f87f7 /ospfd/ospf_lsdb.c | |
parent | ef43a3dc3618e2e7836a9bf76572a69d94c4b4fe (diff) | |
download | quagga-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.c | 15 |
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; -} |