mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 20:18:54 +00:00
ospf6d: force recalculate on interface_up
interface_up also handles changes to the interface type, i.e. broadcast to ptp to ptmp. Connected routes for these are different and must be readvertised, which is done in ospf6_interface_recalculate_cost() - but only if the cost changed. Use the force variant here. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
4aa200c7c5
commit
d7f54c4d56
@ -792,8 +792,8 @@ void interface_up(struct event *thread)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Recompute cost */
|
||||
ospf6_interface_recalculate_cost(oi);
|
||||
/* Recompute cost & update connected LSAs */
|
||||
ospf6_interface_force_recalculate_cost(oi);
|
||||
|
||||
/* if already enabled, do nothing */
|
||||
if (oi->state > OSPF6_INTERFACE_DOWN) {
|
||||
|
Loading…
Reference in New Issue
Block a user