diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 09:11:02 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 09:11:02 +0200 |
commit | 52e17e99dfdf7e7e6ef83759a805fdb9a6d1a496 (patch) | |
tree | 299ff01c75f345121971a1f46b5049c1b2101c10 /ospfd/ospf_te.c | |
parent | bgpd: Revert --enable-bgp-standalone (diff) | |
download | frr-52e17e99dfdf7e7e6ef83759a805fdb9a6d1a496.tar.xz frr-52e17e99dfdf7e7e6ef83759a805fdb9a6d1a496.zip |
ospfd: Do not print warning on new interface
The new TE functions will always print out a warning
that TE has not been configured on an interface. This
should be a debug not a warn.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r-- | ospfd/ospf_te.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index c118e46c5..12d589cd9 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; } |