Fix to resolve discovery issue when built with "scons"
authorvimala.v <vimala.v@samsung.com>
Mon, 29 Feb 2016 11:37:30 +0000 (17:07 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 2 Mar 2016 06:11:18 +0000 (06:11 +0000)
commit13b7b5611cf076f47e80b29df2b088cf60db9f79
tree003ad84e05fd9267dc1cc136b9744200d76dea69
parent59a8d85ae84ae9437919fcef52830ed6485002f0
Fix to resolve discovery issue when built with "scons"

TARGET_TRANSPORT=ALL is the default value and TCP support is
enabled in this case.  As currently multicast is not supported via TCP,
Discovery is not working.  This patch resolves the issue by sending UDP based
packet via IP adapter while TCP based packet via other adapters.

Change-Id: I6fb7556c2d5053c4c14c8fc21892b23c06602608
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5271
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/cainterfacecontroller.c
resource/csdk/connectivity/src/camessagehandler.c