ospfd: Convert ospf_asbr.c to use error-codes subsystem

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-08-21 09:06:02 -04:00 committed by Quentin Young
parent 733fb9177f
commit 78912b1f80

View File

@ -135,7 +135,8 @@ ospf_external_info_add(struct ospf *ospf, uint8_t type, unsigned short instance,
inet_ntop(AF_INET, (void *)&nexthop.s_addr, inetbuf,
INET6_BUFSIZ);
zlog_warn(
if (IS_DEBUG_OSPF(lsa, LSA_GENERATE))
zlog_debug(
"Redistribute[%s][%d][%u]: %s/%d discarding old info with NH %s.",
ospf_redist_string(type), instance,
ospf->vrf_id, inet_ntoa(p.prefix), p.prefixlen,