Commit 2601c76
committed
ospfv3: fix: re-elect the DR promptly when the DR's adjacency dies of inactivity
When a Full neighbor's inactivity timer fires, OSPFv2 additionally checks
whether the dead neighbor was the Designated Router while this router is the
Backup: if so, it fires NEIGHBOR_CHANGE on the interface so DR re-election
happens immediately rather than on some later Hello. The OSPFv3 port lacked
this step; mirror it.
All 11 ospfv3 + BgpAndOspfv3 fingerprints are byte-identical: in the shipped
examples adjacency teardown is signal-driven (interface down kills neighbors
directly), so the inactivity timer never expires on a Full DR adjacency. The
step matters for silent failures (a DR that stops sending Hellos without a
carrier loss).1 parent 7b02d8d commit 2601c76
1 file changed
Lines changed: 8 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
0 commit comments