diff options
Diffstat (limited to 'ospfd/ospf_te.c')
| -rw-r--r-- | ospfd/ospf_te.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index b55105ac8f..12d589cd99 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -713,12 +713,14 @@ update_linkparams(struct mpls_te_link *lp) /* Get the Interface structure */ if ((ifp = lp->ifp) == NULL) { - zlog_warn("OSPF MPLS-TE: Abort update TE parameters: no interface associated to Link Parameters"); + if (IS_DEBUG_OSPF_TE) + zlog_debug("OSPF MPLS-TE: Abort update TE parameters: no interface associated to Link Parameters"); return; } if (!HAS_LINK_PARAMS(ifp)) { - zlog_warn("OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface"); + if (IS_DEBUG_OSPF_TE) + zlog_debug("OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface"); return; } @@ -1179,7 +1181,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; } |
