mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 18:39:23 +00:00
ospfd: Convert ospf_asbr.c to use error-codes subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
733fb9177f
commit
78912b1f80
@ -135,11 +135,12 @@ 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(
|
||||
"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,
|
||||
inetbuf);
|
||||
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,
|
||||
inetbuf);
|
||||
XFREE(MTYPE_OSPF_EXTERNAL_INFO, rn->info);
|
||||
rn->info = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user