version 1.146, 2016/06/21 10:25:27 |
version 1.147, 2016/07/15 07:33:41 |
Line 695 rip6_bind(struct socket *so, struct sock |
|
Line 695 rip6_bind(struct socket *so, struct sock |
|
if (!IN6_IS_ADDR_UNSPECIFIED(&addr->sin6_addr) && |
if (!IN6_IS_ADDR_UNSPECIFIED(&addr->sin6_addr) && |
(ia = ifa_ifwithaddr((struct sockaddr *)addr)) == 0) |
(ia = ifa_ifwithaddr((struct sockaddr *)addr)) == 0) |
return EADDRNOTAVAIL; |
return EADDRNOTAVAIL; |
if (ia && ((struct in6_ifaddr *)ia)->ia6_flags & |
if (ia && ifatoia6(ia)->ia6_flags & |
(IN6_IFF_ANYCAST|IN6_IFF_NOTREADY| |
(IN6_IFF_ANYCAST|IN6_IFF_NOTREADY| |
IN6_IFF_DETACHED|IN6_IFF_DEPRECATED)) |
IN6_IFF_DETACHED|IN6_IFF_DEPRECATED)) |
return EADDRNOTAVAIL; |
return EADDRNOTAVAIL; |