diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-17 17:11:56 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-17 17:11:56 +0100 |
commit | 405e1c848faf6dd96d6f16fdbd33c7e6d5a6fcfa (patch) | |
tree | 9c4dce2f9a1c9ae57891b4e09f6eef9f4db34852 /ospfd/ospf_lsdb.c | |
parent | Revert "bgpd, ospfd: BGP ORR CI warning fixes" (diff) | |
download | frr-405e1c848faf6dd96d6f16fdbd33c7e6d5a6fcfa.tar.xz frr-405e1c848faf6dd96d6f16fdbd33c7e6d5a6fcfa.zip |
Revert "ospfd: rSPF calc and messaging for optimal route reflection"
This reverts commit a3d3a14c09cf212c7d402670247c4d518b99d8b7.
Diffstat (limited to 'ospfd/ospf_lsdb.c')
-rw-r--r-- | ospfd/ospf_lsdb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ospfd/ospf_lsdb.c b/ospfd/ospf_lsdb.c index 3c65ac388..f4fb858a5 100644 --- a/ospfd/ospf_lsdb.c +++ b/ospfd/ospf_lsdb.c @@ -30,7 +30,6 @@ #include "ospfd/ospf_asbr.h" #include "ospfd/ospf_lsa.h" #include "ospfd/ospf_lsdb.h" -#include "ospfd/ospf_orr.h" struct ospf_lsdb *ospf_lsdb_new(void) { @@ -88,10 +87,6 @@ static void ospf_lsdb_delete_entry(struct ospf_lsdb *lsdb, assert(rn->table == lsdb->type[lsa->data->type].db); - /* Update ORR Root table MPLS-TE Router address's advertise router */ - if (lsa->data->type == OSPF_OPAQUE_AREA_LSA) - ospf_orr_root_table_update(lsa, false); - if (IS_LSA_SELF(lsa)) lsdb->type[lsa->data->type].count_self--; lsdb->type[lsa->data->type].count--; @@ -139,10 +134,6 @@ void ospf_lsdb_add(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) #endif /* MONITOR_LSDB_CHANGE */ lsdb->type[lsa->data->type].checksum += ntohs(lsa->data->checksum); rn->info = ospf_lsa_lock(lsa); /* lsdb */ - - /* Update ORR Root table MPLS-TE Router address's advertise router */ - if (lsa->data->type == OSPF_OPAQUE_AREA_LSA) - ospf_orr_root_table_update(lsa, true); } void ospf_lsdb_delete(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) |