summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2021-06-04 14:22:06 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2021-09-21 19:00:38 +0200
commit436a55a1d5cd0722b4f6e9bc0c9f9ce20e4e0dac (patch)
tree0c86f73f404e26b213e4c78b723f46119b595397 /ospf6d/ospf6_zebra.c
parent0d39b8f2f08ac5878163b30d4c27d171ce1a1ca8 (diff)
ospf6d: don't update router-id if at least one adjacency is Full
When a router-id change is notified by zebra to ospf6d, we only take into account the change if no adjacencies are in Full state. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 5403e643dc..f8bc890d69 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -101,7 +101,7 @@ static int ospf6_router_id_update_zebra(ZAPI_CALLBACK_ARGS)
o->router_id_zebra = router_id.u.prefix4.s_addr;
- ospf6_router_id_update(o);
+ ospf6_router_id_update(o, false);
return 0;
}