Change-Id: I4fff403f809931b1bd2d4c49ea087b07d498333d
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20389
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Masud Bhuiyan <m.parves@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
CAResult_t CAIPStartListenServer()
{
+ if (caglobals.ip.started)
+ {
+ OIC_LOG(DEBUG, TAG, "Adapter is started already");
+ return CA_STATUS_OK;
+ }
+
OIC_LOG_V(DEBUG, TAG, "IN %s", __func__);
u_arraylist_t *iflist = CAIPGetInterfaceInformation(0);
if (!iflist)