diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-06-18 08:18:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-18 08:18:25 -0400 |
| commit | a61bbb35a5afe8024e7b48d99d777be3596402e0 (patch) | |
| tree | 47cdf3eb5a3b72f023b6ad66ae7c38de0704a281 /ospf6d/ospf6_interface.c | |
| parent | 631f59c40ed75fd83d57c62c3e7e059753c621b3 (diff) | |
| parent | 1b1f7b4f1540a276e4ec6fda3e08c78a9ca5982c (diff) | |
Merge pull request #8839 from volta-networks/fix_ospf6_flags_for_error_logs
ospf6d: move error logs out from behind debug flags
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 952c7f8b27..6763e7457f 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -701,20 +701,17 @@ int interface_up(struct thread *thread) /* check physical interface is up */ if (!if_is_operative(oi->interface)) { - if (IS_OSPF6_DEBUG_INTERFACE) - zlog_debug( - "Interface %s is down, can't execute [InterfaceUp]", - oi->interface->name); + zlog_warn("Interface %s is down, can't execute [InterfaceUp]", + oi->interface->name); return 0; } /* check interface has a link-local address */ if (!(ospf6_interface_get_linklocal_address(oi->interface) || if_is_loopback_or_vrf(oi->interface))) { - if (IS_OSPF6_DEBUG_INTERFACE) - zlog_debug( - "Interface %s has no link local address, can't execute [InterfaceUp]", - oi->interface->name); + zlog_warn( + "Interface %s has no link local address, can't execute [InterfaceUp]", + oi->interface->name); return 0; } @@ -731,7 +728,7 @@ int interface_up(struct thread *thread) /* If no area assigned, return */ if (oi->area == NULL) { - zlog_debug( + zlog_warn( "%s: Not scheduleing Hello for %s as there is no area assigned yet", __func__, oi->interface->name); return 0; |
