diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-08-12 20:29:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-12 20:29:16 -0400 |
| commit | b481e15d7e38dcfc48ca2b00e5a19bb8be7248eb (patch) | |
| tree | a01380337c3f1dc59c0e1785200cca81eed87acc /ospf6d/ospf6_interface.c | |
| parent | 41bd80e5b9bfbbab0671708e24193e51fbc24cc2 (diff) | |
| parent | 4f0d3f3e8a431441654b663492cb41ed890dc417 (diff) | |
Merge pull request #11784 from anlancs/fix/ospfd-cost-zebra-speed
ospf6d: fix missing cost change
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index efa5d2b7ab..9bc81398c6 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1719,8 +1719,11 @@ void ospf6_interface_start(struct ospf6_interface *oi) if (oi->area_id_format == OSPF6_AREA_FMT_UNSET) return; - if (oi->area) + if (oi->area) { + /* Recompute cost */ + ospf6_interface_recalculate_cost(oi); return; + } ospf6 = oi->interface->vrf->info; if (!ospf6) |
