summaryrefslogtreecommitdiff
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-01-17 18:11:56 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-01-17 18:11:56 +0200
commit405e1c848faf6dd96d6f16fdbd33c7e6d5a6fcfa (patch)
tree9c4dce2f9a1c9ae57891b4e09f6eef9f4db34852 /ospfd/ospf_zebra.c
parent1ea57af264c77f1adc69754a4248a13c1c93b595 (diff)
Revert "ospfd: rSPF calc and messaging for optimal route reflection"
This reverts commit a3d3a14c09cf212c7d402670247c4d518b99d8b7.
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 4615864244..1754512b5b 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -53,7 +53,6 @@
#include "ospfd/ospf_te.h"
#include "ospfd/ospf_sr.h"
#include "ospfd/ospf_ldp_sync.h"
-#include "ospfd/ospf_orr.h"
DEFINE_MTYPE_STATIC(OSPFD, OSPF_EXTERNAL, "OSPF External route table");
DEFINE_MTYPE_STATIC(OSPFD, OSPF_REDISTRIBUTE, "OSPF Redistriute");
@@ -2082,7 +2081,6 @@ static void ospf_zebra_connected(struct zclient *zclient)
bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, VRF_DEFAULT);
zclient_send_reg_requests(zclient, VRF_DEFAULT);
- zclient_register_opaque(zclient, ORR_IGP_METRIC_REGISTER);
}
/*
@@ -2095,7 +2093,6 @@ static int ospf_opaque_msg_handler(ZAPI_CALLBACK_ARGS)
struct ldp_igp_sync_if_state state;
struct ldp_igp_sync_announce announce;
struct zapi_opaque_reg_info dst;
- struct orr_igp_metric_reg orr_reg;
int ret = 0;
s = zclient->ibuf;
@@ -2119,10 +2116,6 @@ static int ospf_opaque_msg_handler(ZAPI_CALLBACK_ARGS)
STREAM_GET(&announce, s, sizeof(announce));
ret = ospf_ldp_sync_announce_update(announce);
break;
- case ORR_IGP_METRIC_REGISTER:
- STREAM_GET(&orr_reg, s, sizeof(orr_reg));
- ret = ospf_orr_igp_metric_register(orr_reg);
- break;
default:
break;
}