summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_lsdb.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2016-12-16 08:53:30 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-03 15:14:56 -0500
commit54c8d91e5d79004d812ac816bf0785c8edd6c0cd (patch)
tree68532655c3b6b36a4c93bf7bcfb6f81779a355df /ospf6d/ospf6_lsdb.h
parent9b532e09f9a612884b2f394fe17d2d3386d3e3a9 (diff)
ospf6d: resolve problem with area range lsid creation
The problem reported was that routers downstream from the ABR would have prefixes in the IPv6 rib that should have been summarized. Testing showed that the prefixes were absent in the lsdb but not removed from the rib. The problem (and others) stemmed from determining the link-state id to use for the area-range statement only from other entries in the range-table. Since the area range statement creates inter-prefix LSAs (summaries) which are in all aspects identical to other inter-prefix LSAs, the number space for the lsid needs to be unique across all inter-prefix LSAs, not just unique between area range statements. This fix removes the use of range-table specific lsids and acquires the lsid just as any other inter-prefix LSA. Ticket: CM-13626 Signed-off-by: Don Slice Reviewed By: CCR-5489 Testing Done: Manual testing, repeated runs of the test that previously failed, ospf-smoke
Diffstat (limited to 'ospf6d/ospf6_lsdb.h')
-rw-r--r--ospf6d/ospf6_lsdb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ospf6d/ospf6_lsdb.h b/ospf6d/ospf6_lsdb.h
index a8bfcae882..b21d9ee282 100644
--- a/ospf6d/ospf6_lsdb.h
+++ b/ospf6d/ospf6_lsdb.h
@@ -81,9 +81,6 @@ extern void ospf6_lsdb_show (struct vty *vty,
extern u_int32_t ospf6_new_ls_id (u_int16_t type, u_int32_t adv_router,
struct ospf6_lsdb *lsdb);
-extern u_int32_t ospf6_new_range_ls_id (struct ospf6_route_table *range_table);
-extern void ospf6_release_range_ls_id (struct ospf6_route_table *range_table,
- u_int32_t id);
extern u_int32_t ospf6_new_ls_seqnum (u_int16_t type, u_int32_t id,
u_int32_t adv_router,
struct ospf6_lsdb *lsdb);