]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: Set loopback interface cost to 0
authorDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 23 Oct 2023 08:24:12 +0000 (11:24 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 26 Oct 2023 04:39:28 +0000 (07:39 +0300)
commit80dfa9e012ebdb3e88cbd6de3101ae6dd9109ad2
tree5b6c1e472af55a831cfa1afbbc48c095bbd45221
parente8615867d08f0c79096c1270695fa5c52d689a87
ospf6d: Set loopback interface cost to 0

https://www.rfc-editor.org/rfc/rfc5340.html#page-37 states:

If the interface type is point-
      to-multipoint or the interface is in the state Loopback, the
      global scope IPv6 addresses associated with the interface (if any)
      are copied into the intra-area-prefix-LSA with the PrefixOptions
      LA-bit set, the PrefixLength set to 128, and the metric set to 0.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
ospf6d/ospf6_interface.c