diff options
author | kitty <khiruthigai.balasubramanian@hpe.com> | 2016-02-19 06:33:40 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-18 00:34:08 +0100 |
commit | a7928d3ac43b9bd892280f8b12f73d269b8266a8 (patch) | |
tree | 7e903f3f51ab15139fa81eb2bd798845ffb4787f /ospfd/ospf_lsa.c | |
parent | Update ripng_zebra.c (diff) | |
download | frr-a7928d3ac43b9bd892280f8b12f73d269b8266a8.tar.xz frr-a7928d3ac43b9bd892280f8b12f73d269b8266a8.zip |
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>
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index fc862966b..1bf3e9e97 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -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, oi->output_cost); + return link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, 0); } /* Describe Virtual Link. */ |