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 804b1fb652..1afe20b958 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -838,8 +838,9 @@ initialize_linkparams (struct mpls_te_link *lp) if ((oi = lookup_oi_by_ifp (ifp, NULL, OI_ANY)) == NULL) { - zlog_warn("MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for %s", - ifp->name); + if (IS_DEBUG_OSPF_TE) + zlog_warn("MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for %s", + ifp->name); return; } @@ -991,7 +992,8 @@ ospf_mpls_te_update_if (struct interface *ifp) /* Get Link context from interface */ if ((lp = lookup_linkparams_by_ifp(ifp)) == NULL) { - zlog_warn ("OSPF MPLS-TE Update: Did not find Link Parameters context for interface %s", ifp->name); + if (IS_DEBUG_OSPF_TE) + zlog_warn ("OSPF MPLS-TE Update: Did not find Link Parameters context for interface %s", ifp->name); return; } |
