Fix CAGetTCPInterfaceInformation to copy NIC index
when copy network infomation CAInterface_t to CAEndpoint_t.
Change-Id: I93b37adeb5a1c927ef8ea775bd5de7eeeb40a09d
Signed-off-by: bg.chun <bg.chun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14037
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
}
ep[j].adapter = CA_ADAPTER_TCP;
- ep[j].ifindex = 0;
+ ep[j].ifindex = ifitem->index;
if (ifitem->family == AF_INET6)
{