Zebra: Fix log related to delete notification for IPv6 route

Ticket: CM-7204
Reviewed By: CCR-3449
Testing Done: Verified the log manually

Port of patch zebra-fix-ipv6-route-delete-log.patch from 2.5-br
This commit is contained in:
vivek 2015-09-02 16:43:33 -07:00
parent 382440244a
commit deee6b32ee

View File

@ -3459,7 +3459,7 @@ rib_delete_ipv6 (int type, u_short instance, int flags, struct prefix_ipv6 *p,
if (IS_ZEBRA_DEBUG_KERNEL)
{
zlog_debug ("Zebra route %s/%d was deleted by others from kernel",
inet_ntop (AF_INET, &p->prefix, buf1, INET_ADDRSTRLEN),
inet_ntop (AF_INET6, &p->prefix, buf1, INET6_ADDRSTRLEN),
p->prefixlen);
}
if (allow_delete)