diff options
author | Christian Hopps <chopps@labn.net> | 2022-06-23 00:10:13 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2022-06-23 11:01:40 +0200 |
commit | 44038c7ae3fbadb0164821c19c74acbc9e30b8a6 (patch) | |
tree | 1ea2d20c7da4e0b7c1984f61cbc1cc6698dc6f2f /ospfd/ospfd.c | |
parent | Merge pull request #11437 from rgirada/ospf_nbr (diff) | |
download | frr-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.c | 5 |
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; |