]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Fix next hop calculation for PtP links in IPv4 OSPFv3-AF
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 9 Oct 2017 18:36:14 +0000 (20:36 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 10 Oct 2017 14:10:02 +0000 (16:10 +0200)
commitf097f7659c7ff226a53c51673158e32fb69a6d21
tree420965972f789d1c28059a5f5ffb56bebcaf1905
parentd3f4f92b0ece0ce4031087a25735e6cbf0d741e2
OSPF: Fix next hop calculation for PtP links in IPv4 OSPFv3-AF

In such case, next hop has to be taken from Link-LSA like in broadcast
case, not from neighbor source address like in other PtP cases.

Also add some checks, comments and code cleanup.
proto/ospf/rt.c