From deee6b32ee7bc4498b6ca0e40d7fa2a934512c89 Mon Sep 17 00:00:00 2001 From: vivek Date: Wed, 2 Sep 2015 16:43:33 -0700 Subject: [PATCH] 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 --- zebra/zebra_rib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5