9aa77fcceb
Keep track of whether OSPF tmpattrs are actually defined for given route (using flags in rte->pflags). That makes them behave more like real eattrs so a protocol can define just a subset of them or they can be undefined by filters. Do not set ospf_metric2 for other than type 2 external OSPF routes and do not set ospf_tag for non-external OSPF routes. That also fixes a bug where internal/inter-area route propagated from one OSPF instance to another is initiated with infinity ospf_metric2. Thanks to Yaroslav Dronskii for the bugreport. |
||
---|---|---|
.. | ||
config.Y | ||
dbdes.c | ||
Doc | ||
hello.c | ||
iface.c | ||
lsack.c | ||
lsalib.c | ||
lsalib.h | ||
lsreq.c | ||
lsupd.c | ||
Makefile | ||
neighbor.c | ||
ospf.c | ||
ospf.h | ||
packet.c | ||
rt.c | ||
rt.h | ||
topology.c | ||
topology.h |