diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-09-19 20:41:00 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-19 20:41:00 +0300 |
| commit | e09295c4261e9f45388493c760d16a972f906485 (patch) | |
| tree | 7f574b7038b2f129ad6b629a7fcace91c6c2350b /zebra/interface.c | |
| parent | 16296beaa5ff0b51e1b9e88848206dcea5cd2a32 (diff) | |
| parent | 14a4d9d0476bd950cfb7d3b94b050d15d1a8169d (diff) | |
Merge pull request #4875 from vishaldhingra/blackhole_type
Zebra: Rectifying the log messages.
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 6486c01430..bb808e1852 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2034,13 +2034,13 @@ DEFUN (link_params_enable, /* This command could be issue at startup, when activate MPLS TE */ /* on a new interface or after a ON / OFF / ON toggle */ /* In all case, TE parameters are reset to their default factory */ - if (IS_ZEBRA_DEBUG_EVENT) + if (IS_ZEBRA_DEBUG_EVENT || IS_ZEBRA_DEBUG_MPLS) zlog_debug( "Link-params: enable TE link parameters on interface %s", ifp->name); if (!if_link_params_get(ifp)) { - if (IS_ZEBRA_DEBUG_EVENT) + if (IS_ZEBRA_DEBUG_EVENT || IS_ZEBRA_DEBUG_MPLS) zlog_debug( "Link-params: failed to init TE link parameters %s", ifp->name); @@ -2063,8 +2063,9 @@ DEFUN (no_link_params_enable, { VTY_DECLVAR_CONTEXT(interface, ifp); - zlog_debug("MPLS-TE: disable TE link parameters on interface %s", - ifp->name); + if (IS_ZEBRA_DEBUG_EVENT || IS_ZEBRA_DEBUG_MPLS) + zlog_debug("MPLS-TE: disable TE link parameters on interface %s", + ifp->name); if_link_params_free(ifp); |
