jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
changeset 22956 322ce28a7e20
parent 22651 bfc6ca5245fd
child 23010 6dadb192ad81
equal deleted inserted replaced
22955:3a17c4db457b 22956:322ce28a7e20
  2157             caddr[12] = ((address >> 24) & 0xff);
  2157             caddr[12] = ((address >> 24) & 0xff);
  2158             caddr[13] = ((address >> 16) & 0xff);
  2158             caddr[13] = ((address >> 16) & 0xff);
  2159             caddr[14] = ((address >> 8) & 0xff);
  2159             caddr[14] = ((address >> 8) & 0xff);
  2160             caddr[15] = (address & 0xff);
  2160             caddr[15] = (address & 0xff);
  2161         } else {
  2161         } else {
  2162             getInet6Address_ipaddress(env, iaObj, caddr);
  2162             getInet6Address_ipaddress(env, iaObj, (char*)caddr);
  2163         }
  2163         }
  2164 
  2164 
  2165         memcpy((void *)&(mname6.ipv6mr_multiaddr), caddr, sizeof(struct in6_addr));
  2165         memcpy((void *)&(mname6.ipv6mr_multiaddr), caddr, sizeof(struct in6_addr));
  2166         if (IS_NULL(niObj)) {
  2166         if (IS_NULL(niObj)) {
  2167             int index;
  2167             int index;