version 1.76, 2016/12/08 05:16:34 |
version 1.77, 2017/01/16 07:33:36 |
Line 606 in6_selectroute(struct sockaddr_in6 *dst |
|
Line 606 in6_selectroute(struct sockaddr_in6 *dst |
|
if (dstsock->sin6_addr.s6_addr32[0] == 0 && |
if (dstsock->sin6_addr.s6_addr32[0] == 0 && |
dstsock->sin6_addr.s6_addr32[1] == 0 && |
dstsock->sin6_addr.s6_addr32[1] == 0 && |
!IN6_IS_ADDR_LOOPBACK(&dstsock->sin6_addr)) { |
!IN6_IS_ADDR_LOOPBACK(&dstsock->sin6_addr)) { |
|
char ip6buf[INET6_ADDRSTRLEN]; |
printf("in6_selectroute: strange destination %s\n", |
printf("in6_selectroute: strange destination %s\n", |
ip6_sprintf(&dstsock->sin6_addr)); |
ip6_sprintf(ip6buf, &dstsock->sin6_addr)); |
} else { |
} else { |
|
char ip6buf[INET6_ADDRSTRLEN]; |
printf("in6_selectroute: destination = %s%%%d\n", |
printf("in6_selectroute: destination = %s%%%d\n", |
ip6_sprintf(&dstsock->sin6_addr), |
ip6_sprintf(ip6buf, &dstsock->sin6_addr), |
dstsock->sin6_scope_id); /* for debug */ |
dstsock->sin6_scope_id); /* for debug */ |
} |
} |
#endif |
#endif |