mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 11:50:21 +00:00
ospf6d: Prevent redundant LSA generation before interface goes down
Commit 76249532fa
("ospf6d: Handle Premature Aging of LSAs") added a
duplicate call to OSPF6_INTRA_PREFIX_LSA_EXECUTE_TRANSIT(), when the
interface state changes to "Down".
Fixes: #1738
Signed-off-by: David Ward <david.ward@ll.mit.edu>
This commit is contained in:
parent
7470509390
commit
4a1696818f
@ -516,7 +516,6 @@ static int ospf6_interface_state_change(uint8_t next_state,
|
||||
OSPF6_NETWORK_LSA_EXECUTE(oi);
|
||||
OSPF6_INTRA_PREFIX_LSA_EXECUTE_TRANSIT(oi);
|
||||
OSPF6_INTRA_PREFIX_LSA_SCHEDULE_STUB(oi->area);
|
||||
OSPF6_INTRA_PREFIX_LSA_EXECUTE_TRANSIT(oi);
|
||||
} else if (prev_state == OSPF6_INTERFACE_DR
|
||||
|| next_state == OSPF6_INTERFACE_DR) {
|
||||
OSPF6_NETWORK_LSA_SCHEDULE(oi);
|
||||
|
Loading…
Reference in New Issue
Block a user