--- embedaddon/quagga/zebra/irdp_main.c 2012/02/21 17:26:11 1.1.1.1 +++ embedaddon/quagga/zebra/irdp_main.c 2016/11/02 10:09:10 1.1.1.2 @@ -180,6 +180,7 @@ irdp_send(struct interface *ifp, struct prefix *p, str { struct zebra_if *zi=ifp->info; struct irdp_interface *irdp=&zi->irdp; + char buf[PREFIX_STRLEN]; u_int32_t dst; u_int32_t ttl=1; @@ -191,10 +192,9 @@ irdp_send(struct interface *ifp, struct prefix *p, str dst = htonl(INADDR_ALLHOSTS_GROUP); if(irdp->flags & IF_DEBUG_MESSAGES) - zlog_debug("IRDP: TX Advert on %s %s/%d Holdtime=%d Preference=%d", + zlog_debug("IRDP: TX Advert on %s %s Holdtime=%d Preference=%d", ifp->name, - inet_ntoa(p->u.prefix4), - p->prefixlen, + prefix2str(p, buf, sizeof buf), irdp->flags & IF_SHUTDOWN? 0 : irdp->Lifetime, get_pref(irdp, p));