]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Allow loopback nexthop in OSPFv3-IPv4
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 4 Apr 2024 16:37:26 +0000 (18:37 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 4 Apr 2024 16:37:26 +0000 (18:37 +0200)
commit280daed57d061eb1ebc89013637c683fe23465e8
tree91b4a338b2d3a986ee2ceddb48558c98a0cfc679
parentbc10975adbb0aef772496f334dd0bbd23251c1d8
OSPF: Allow loopback nexthop in OSPFv3-IPv4

In OSPFv3-IPv4 there is no requirement that link-local next hop announced
in Link-LSA must be in interface address range. Therefore, for interfaces
that do not have IPv4 address we can use some loopback IP address and
announce it as a next hop. Also we should accept such address.
nest/neighbor.c
proto/ospf/ospf.h
proto/ospf/rt.c
proto/ospf/topology.c