diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2021-06-30 15:18:50 +0200 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2021-09-21 19:00:38 +0200 |
commit | a30494760f1f994f54b971231733eaba928c6246 (patch) | |
tree | 06db8f64ab008991f403010bf8ebbd42f344529a /ospf6d/ospf6_top.h | |
parent | ospf6d: don't update router-id if at least one adjacency is Full (diff) | |
download | frr-a30494760f1f994f54b971231733eaba928c6246.tar.xz frr-a30494760f1f994f54b971231733eaba928c6246.zip |
ospf6d: factorize router-id update
ospf6_router_id_update function is used by ospf6_router_id_update_zebra
to update the running the ospf6 router-id.
This patches makes the functions to (un)configure ospf6 router-id use
the same function as ospf6_router_id_update_zebra.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'ospf6d/ospf6_top.h')
-rw-r--r-- | ospf6d/ospf6_top.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_top.h b/ospf6d/ospf6_top.h index 1bb6afc51..aa52f1bfb 100644 --- a/ospf6d/ospf6_top.h +++ b/ospf6d/ospf6_top.h @@ -227,7 +227,7 @@ extern void ospf6_master_init(struct thread_master *master); extern void install_element_ospf6_clear_process(void); extern void ospf6_top_init(void); extern void ospf6_delete(struct ospf6 *o); -extern void ospf6_router_id_update(struct ospf6 *ospf6, bool init); +extern bool ospf6_router_id_update(struct ospf6 *ospf6, bool init); extern void ospf6_maxage_remove(struct ospf6 *o); extern struct ospf6 *ospf6_instance_create(const char *name); |