]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix processing of inter-area-prefix-LSAs with the LA-bit set 12935/head
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 2 Mar 2023 22:39:17 +0000 (19:39 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 2 Mar 2023 22:38:03 +0000 (19:38 -0300)
commita7276f01028a73569a7a8c6fb844f191534270e4
tree5094d39840929ce0ec96eaf226c910f549ed1e8d
parent48cdfc16dd34e1bbfaf23c386605d44a6dcb01fb
ospf6d: fix processing of inter-area-prefix-LSAs with the LA-bit set

RFC 5340, Section 4.8.3 says:
  "Prefixes having the NU-bit set in their PrefixOptions field should
  be ignored by the inter-area route calculation".

Fix a bug where, in addition to the NU-bit, ospf6d was also ignoring
prefixes having the LA-bit set when computing inter-area routes. In
practice, this fixes interoperability issues with vendors that set
the LA-bit in loopback prefixes (among other cases).

While here, fix a copy-and-paste error where a log message wasn't
showing accurate information about what happened.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_abr.c