]> git.puffer.fish Git - matthieu/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)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 30 Oct 2023 04:20:36 +0000 (04:20 +0000)
commit2172fb9f67730e78100a4723246b246cebf4cdf0
tree5f9751377bbfb1195fd76b05614104ced762c56a
parent0653c10c20edec90a5333b03d58e38872df6c635
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>
(cherry picked from commit 80dfa9e012ebdb3e88cbd6de3101ae6dd9109ad2)
ospf6d/ospf6_interface.c