summaryrefslogtreecommitdiff
path: root/ospfd/ospf_route.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-06-20 21:00:27 +0000
committerhasso <hasso>2004-06-20 21:00:27 +0000
commitbeebba75167b33e05b5e02a41179ad0c13a0bcd7 (patch)
tree83b72a338e29f7f6cff2b83fd2c71e8615f9f8e5 /ospfd/ospf_route.c
parent320ec10a24d8dd81d0aa011dc92e07877e4e02f8 (diff)
Remove ifdef's HAVE_NSSA. NSSA support is stable enough.
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r--ospfd/ospf_route.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index d56b5658..a8ee232f 100644
--- a/ospfd/ospf_route.c
+++ b/ospfd/ospf_route.c
@@ -319,9 +319,7 @@ ospf_intra_route_add (struct route_table *rt, struct vertex *v,
or->id = v->id;
or->u.std.area_id = area->area_id;
-#ifdef HAVE_NSSA
or->u.std.external_routing= area->external_routing;
-#endif /* HAVE_NSSA */
or->path_type = OSPF_PATH_INTRA_AREA;
or->cost = v->distance;
@@ -376,9 +374,7 @@ ospf_intra_add_router (struct route_table *rt, struct vertex *v,
or->id = v->id;
or->u.std.area_id = area->area_id;
-#ifdef HAVE_NSSA
or->u.std.external_routing = area->external_routing;
-#endif /* HAVE_NSSA */
or->path_type = OSPF_PATH_INTRA_AREA;
or->cost = v->distance;
or->type = OSPF_DESTINATION_ROUTER;
@@ -471,9 +467,7 @@ ospf_intra_add_transit (struct route_table *rt, struct vertex *v,
or->id = v->id;
or->u.std.area_id = area->area_id;
-#ifdef HAVE_NSSA
or->u.std.external_routing = area->external_routing;
-#endif /* HAVE_NSSA */
or->path_type = OSPF_PATH_INTRA_AREA;
or->cost = v->distance;
or->type = OSPF_DESTINATION_NETWORK;
@@ -603,9 +597,7 @@ ospf_intra_add_stub (struct route_table *rt, struct router_lsa_link *link,
or->id = v->id;
or->u.std.area_id = area->area_id;
-#ifdef HAVE_NSSA
or->u.std.external_routing = area->external_routing;
-#endif /* HAVE_NSSA */
or->path_type = OSPF_PATH_INTRA_AREA;
or->cost = cost;
or->type = OSPF_DESTINATION_NETWORK;
@@ -1029,9 +1021,7 @@ ospf_add_discard_route (struct route_table *rt, struct ospf_area *area,
new_or->id.s_addr = 0;
new_or->cost = 0;
new_or->u.std.area_id = area->area_id;
-#ifdef HAVE_NSSA
new_or->u.std.external_routing = area->external_routing;
-#endif /* HAVE_NSSA */
new_or->path_type = OSPF_PATH_INTER_AREA;
rn->info = new_or;