mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 14:43:23 +00:00
Fixes Quagga Bugzilla #842 - ospfd uses non-zero metric when describing loopback addresses
Change-Id: Iff33d70089d1393bf3e9c757d9e9faf134699121 Signed-off-by: kitty <khiruthigai.balasubramanian@hpe.com> Tested-by: NetDEF CI System <cisystem@netdef.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
978dd801a9
commit
a7928d3ac4
@ -639,7 +639,7 @@ lsa_link_loopback_set (struct stream *s, struct ospf_interface *oi)
|
|||||||
|
|
||||||
mask.s_addr = 0xffffffff;
|
mask.s_addr = 0xffffffff;
|
||||||
id.s_addr = oi->address->u.prefix4.s_addr;
|
id.s_addr = oi->address->u.prefix4.s_addr;
|
||||||
return link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, oi->output_cost);
|
return link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Describe Virtual Link. */
|
/* Describe Virtual Link. */
|
||||||
|
Loading…
Reference in New Issue
Block a user