]> 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>
Mon, 30 Oct 2023 06:33:05 +0000 (08:33 +0200)
commit9af596648fee6618dbaab7eb2b1b5625d23445dd
tree0bed434b1ad1b0c7a3ab8a1f957ffcb6b43b1782
parent21c38aeae724af96f936a0a7365df0882d2eaded
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