Modified the iotcon_find_resource option. 80/103980/1 submit/tizen/20161212.044451
authorsegwon <segwon.han@samsung.com>
Mon, 12 Dec 2016 04:15:48 +0000 (13:15 +0900)
committersegwon <segwon.han@samsung.com>
Mon, 12 Dec 2016 04:16:23 +0000 (13:16 +0900)
(Addition IOTCON_CONNECTIVITY_IP)

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ie9604665f63f388a961cd600605509615942bb2c

daemon/discovery_provider/IotconDiscoveryProvider.cpp

index 58aebb2..eaa2d69 100755 (executable)
@@ -352,7 +352,7 @@ int conv::IotconDiscoveryProvider::start()
                return CONV_ERROR_INVALID_OPERATION;
        }
 
-       ret = iotcon_find_resource(IOTCON_MULTICAST_ADDRESS, IOTCON_CONNECTIVITY_IPV4_ONLY | IOTCON_CONNECTIVITY_PREFER_UDP,
+       ret = iotcon_find_resource(IOTCON_MULTICAST_ADDRESS, IOTCON_CONNECTIVITY_IP | IOTCON_CONNECTIVITY_IPV4_ONLY | IOTCON_CONNECTIVITY_PREFER_UDP,
                        query, __found_resource, NULL);
 
        iotcon_query_destroy(query);