Lines 1124-1136
Link Here
|
1124 |
*/ |
1124 |
*/ |
1125 |
ifi = if_indextoifinfo(pi->ipi6_ifindex); |
1125 |
ifi = if_indextoifinfo(pi->ipi6_ifindex); |
1126 |
if (ifi->ifi_rainfo == NULL) { |
1126 |
if (ifi->ifi_rainfo == NULL) { |
1127 |
syslog(LOG_INFO, |
1127 |
if (!(ifi->ifi_nd_flags & ND6_IFF_ACCEPT_RTADV)) { |
1128 |
"<%s> received RA from %s on non-advertising" |
1128 |
syslog(LOG_INFO, |
1129 |
" interface(%s)", |
1129 |
"<%s> received RA from %s on non-advertising interface that is set to not accept RA" |
1130 |
__func__, |
1130 |
" interface(%s)", |
1131 |
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf, |
1131 |
__func__, |
1132 |
sizeof(ntopbuf)), if_indextoname(pi->ipi6_ifindex, |
1132 |
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf, |
1133 |
ifnamebuf)); |
1133 |
sizeof(ntopbuf)), if_indextoname(pi->ipi6_ifindex, |
|
|
1134 |
ifnamebuf)); |
1135 |
} |
1134 |
goto done; |
1136 |
goto done; |
1135 |
} |
1137 |
} |
1136 |
rai = ifi->ifi_rainfo; |
1138 |
rai = ifi->ifi_rainfo; |