]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Allow ifaces with host address as unnumbered PtP or PtMP ifaces
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 10 May 2021 11:39:55 +0000 (13:39 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 10 May 2021 11:39:55 +0000 (13:39 +0200)
commit2a0af925b83f699d126cf0e733a49c75ffd86033
treedfd17aaf95a4684c2eba093bb62ecd4a00c011a0
parentbc591061f618cdc35cf21c7973a660f8d7018b43
OSPF: Allow ifaces with host address as unnumbered PtP or PtMP ifaces

Ifaces with host address (/32) were forced to be stubby, but now they
can be used as PtP or PtMP. For these ifaces we need to:

 - Do not force stub mode
 - Accept packets from any IP as local
 - Accept any configured neighbor as local
 - Detect ifaces properly as unnumbered
 - Use ONLINK flag for nexthops
proto/ospf/iface.c
proto/ospf/ospf.h
proto/ospf/packet.c
proto/ospf/rt.c