resolved the build issue caused by merge of
https://gerrit.iotivity.org/gerrit/#/c/8441/
Change-Id: If0caf9d116440025c60ae6ee019890947ceebe3d
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9113
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
struct sockaddr_in6 *sock6 = (struct sockaddr_in6 *)&sa;
if (!sock6->sin6_scope_id)
{
- sock6->sin6_scope_id = svritem->sep.endpoint.interface;
+ sock6->sin6_scope_id = svritem->sep.endpoint.ifindex;
}
socklen = sizeof(struct sockaddr_in6);
}
svritem->sep.endpoint.adapter = endpoint->adapter;
svritem->sep.endpoint.port = endpoint->port;
svritem->sep.endpoint.flags = endpoint->flags;
- svritem->sep.endpoint.interface = endpoint->interface;
+ svritem->sep.endpoint.ifindex = endpoint->ifindex;
// #2. create the socket and connect to TCP server
int family = (svritem->sep.endpoint.flags & CA_IPV6) ? AF_INET6 : AF_INET;