mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 23:52:33 +00:00
Revert "Fixes Quagga Bugzilla #842 - ospfd uses non-zero metric when describing loopback addresses"
This reverts commit a7928d3ac4.
This code change breaks allot of tests that have hard coded the
distance. We'll unrevert this after the 3.0 release window.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
2878e4dff6
commit
b359768d22
@ -639,7 +639,7 @@ lsa_link_loopback_set (struct stream *s, struct ospf_interface *oi)
|
||||
|
||||
mask.s_addr = 0xffffffff;
|
||||
id.s_addr = oi->address->u.prefix4.s_addr;
|
||||
return link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, 0);
|
||||
return link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, oi->output_cost);
|
||||
}
|
||||
|
||||
/* Describe Virtual Link. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user