From 81c1963fd6e3bd2a8a7f84931f5d93fad80176a5 Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Thu, 21 May 2015 13:06:03 +0900 Subject: [PATCH] Fix to use OC_IPV4 instead of OC_ALL in Things Manager When constructResourceObject function is used, OC_ALL parameter is not working well. Instead of this, OC_IPv4 parameter can be used. Change-Id: I5652551b844dd3d4a15af0392c170535db68dd8b Signed-off-by: Jihun Ha Reviewed-on: https://gerrit.iotivity.org/gerrit/1059 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- service/things-manager/sdk/src/ThingsConfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 service/things-manager/sdk/src/ThingsConfiguration.cpp diff --git a/service/things-manager/sdk/src/ThingsConfiguration.cpp b/service/things-manager/sdk/src/ThingsConfiguration.cpp old mode 100644 new mode 100755 index 43c6895..4ea8804 --- a/service/things-manager/sdk/src/ThingsConfiguration.cpp +++ b/service/things-manager/sdk/src/ThingsConfiguration.cpp @@ -326,7 +326,7 @@ namespace OIC std::string host = getHostFromURI(oit->getUri()); - tempResource = OCPlatform::constructResourceObject(host, uri, OC_ALL, true, + tempResource = OCPlatform::constructResourceObject(host, uri, OC_IPV4, true, oit->getResourceTypes(), m_if); p_resources.push_back(tempResource); -- 2.7.4