Generate introspection data for coaps+tcp endpoint 11/25411/2
authorGeorge Nash <george.nash@intel.com>
Wed, 23 May 2018 18:16:11 +0000 (11:16 -0700)
committerRick Bell <richard.s.bell@intel.com>
Mon, 4 Jun 2018 18:08:23 +0000 (18:08 +0000)
Bug: https://jira.iotivity.org/browse/IOT-3056

Change-Id: I85e0b6a1585eac4d0f90154c261103ce58343fd7
Signed-off-by: George Nash <george.nash@intel.com>
resource/csdk/stack/src/ocresource.c

index 4242249..f2524d6 100644 (file)
@@ -1197,8 +1197,7 @@ OCStackResult BuildIntrospectionResponseRepresentation(const OCResource *resourc
                 char *proto = NULL;
 
                 // consider IP or TCP adapter for payload that is visible to the client
-                if (((CA_ADAPTER_IP | CA_ADAPTER_TCP) & info->adapter) &&
-                    (info->ifindex == devAddr->ifindex))
+                if (((CA_ADAPTER_IP | CA_ADAPTER_TCP) & info->adapter))
                 {
                     OCTpsSchemeFlags matchedTps = OC_NO_TPS;
                     if (OC_STACK_OK != OCGetMatchedTpsFlags(info->adapter,