mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
ospf6d: use OSPF6_INTERFACE_LOOPBACK state
The OSPF6_INTERFACE_LOOPBACK interface state wasn't entered anywhere, even if the interface was OSPF6_IFTYPE_LOOPBACK. Fix. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
2e9db233b1
commit
621ee705b5
@ -821,7 +821,9 @@ int interface_up(struct thread *thread)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* decide next interface state */
|
/* decide next interface state */
|
||||||
if (oi->type == OSPF_IFTYPE_POINTOPOINT) {
|
if (oi->type == OSPF_IFTYPE_LOOPBACK) {
|
||||||
|
ospf6_interface_state_change(OSPF6_INTERFACE_LOOPBACK, oi);
|
||||||
|
} else if (oi->type == OSPF_IFTYPE_POINTOPOINT) {
|
||||||
ospf6_interface_state_change(OSPF6_INTERFACE_POINTTOPOINT, oi);
|
ospf6_interface_state_change(OSPF6_INTERFACE_POINTTOPOINT, oi);
|
||||||
} else if (oi->priority == 0)
|
} else if (oi->priority == 0)
|
||||||
ospf6_interface_state_change(OSPF6_INTERFACE_DROTHER, oi);
|
ospf6_interface_state_change(OSPF6_INTERFACE_DROTHER, oi);
|
||||||
|
Loading…
Reference in New Issue
Block a user