version 1.1, 2012/02/21 17:26:11
|
version 1.1.1.2, 2016/11/02 10:09:10
|
Line 180 irdp_send(struct interface *ifp, struct prefix *p, str
|
Line 180 irdp_send(struct interface *ifp, struct prefix *p, str
|
{ |
{ |
struct zebra_if *zi=ifp->info; |
struct zebra_if *zi=ifp->info; |
struct irdp_interface *irdp=&zi->irdp; |
struct irdp_interface *irdp=&zi->irdp; |
|
char buf[PREFIX_STRLEN]; |
u_int32_t dst; |
u_int32_t dst; |
u_int32_t ttl=1; |
u_int32_t ttl=1; |
|
|
Line 191 irdp_send(struct interface *ifp, struct prefix *p, str
|
Line 192 irdp_send(struct interface *ifp, struct prefix *p, str
|
dst = htonl(INADDR_ALLHOSTS_GROUP); |
dst = htonl(INADDR_ALLHOSTS_GROUP); |
|
|
if(irdp->flags & IF_DEBUG_MESSAGES) |
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, |
ifp->name, |
inet_ntoa(p->u.prefix4), | prefix2str(p, buf, sizeof buf), |
p->prefixlen, | |
irdp->flags & IF_SHUTDOWN? 0 : irdp->Lifetime, |
irdp->flags & IF_SHUTDOWN? 0 : irdp->Lifetime, |
get_pref(irdp, p)); |
get_pref(irdp, p)); |
|
|