summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDavid Lebrun <target0@geeknode.org>2016-05-24 11:02:43 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-13 22:02:37 +0200
commitebe209f252a676c819c7992eebf0fee220c7c41a (patch)
treed829b5ed260ea2a355e7d92d4ec33f97386c0a68 /ospfd
parentdoc: Get isisd.text included properly (diff)
downloadfrr-ebe209f252a676c819c7992eebf0fee220c7c41a.tar.xz
frr-ebe209f252a676c819c7992eebf0fee220c7c41a.zip
ospfd: Fix malformed link TLV when LP_USE_BW is set
(cherry picked from commit 6e88e97786e1223e2b59a995ec330c1f49c55b26)
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index b55105ac8..c118e46c5 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -1179,7 +1179,7 @@ build_link_tlv (struct stream *s, struct mpls_te_link *lp)
build_link_subtlv (s, &lp->pkt_loss.header);
build_link_subtlv (s, &lp->res_bw.header);
build_link_subtlv (s, &lp->ava_bw.header);
- build_link_subtlv (s, &lp->res_bw.header);
+ build_link_subtlv (s, &lp->use_bw.header);
return;
}