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-07-01 14:40:07 +0200
commit08965422d08f51ce9fe3a4490da5732c98b54a6a (patch)
tree3862cab4625737b4062c4d14cf37b383ee310015 /ospf6d/ospf6_zebra.c
parentc36a440cbaf056f73472e3b79dc7e8e3d957a0b9 (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 a7e15c68ae..1c9541710e 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;
}