diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 416c1dcf7..83ae03eb1 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)