From: vivek Date: Wed, 2 Sep 2015 23:43:33 +0000 (-0700) Subject: Zebra: Fix log related to delete notification for IPv6 route X-Git-Tag: frr-2.0-rc1~1267^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=deee6b32ee7bc4498b6ca0e40d7fa2a934512c89;p=matthieu%2Ffrr.git 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 --- diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 416c1dcf7b..83ae03eb1f 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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)