summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2022-06-23 00:10:13 +0200
committerChristian Hopps <chopps@labn.net>2022-06-23 11:01:40 +0200
commit44038c7ae3fbadb0164821c19c74acbc9e30b8a6 (patch)
tree1ea2d20c7da4e0b7c1984f61cbc1cc6698dc6f2f /ospfd/ospfd.c
parentMerge pull request #11437 from rgirada/ospf_nbr (diff)
downloadfrr-44038c7ae3fbadb0164821c19c74acbc9e30b8a6.tar.xz
frr-44038c7ae3fbadb0164821c19c74acbc9e30b8a6.zip
ospfd: add router id support to ospf api
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 337456ecd..33872950a 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -61,6 +61,7 @@
#include "ospfd/ospf_ase.h"
#include "ospfd/ospf_ldp_sync.h"
#include "ospfd/ospf_gr.h"
+#include "ospfd/ospf_apiserver.h"
DEFINE_QOBJ_TYPE(ospf);
@@ -241,6 +242,10 @@ void ospf_process_refresh_data(struct ospf *ospf, bool reset)
}
ospf_external_lsa_rid_change(ospf);
+
+#ifdef SUPPORT_OSPF_API
+ ospf_apiserver_clients_notify_router_id_change(router_id);
+#endif
}
ospf->inst_shutdown = 0;