Remove the rubbish code in pmutility.c
authorChul Lee <chuls.lee@samsung.com>
Fri, 28 Oct 2016 15:28:28 +0000 (00:28 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 28 Oct 2016 16:42:53 +0000 (16:42 +0000)
Change-Id: I7a37d7c1b5960c779b051b894c3e79c9ba9fdc50
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13829
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/src/pmutility.c

index 9f5cb2a..b5c6d9d 100644 (file)
@@ -795,13 +795,6 @@ static OCStackApplicationResult DeviceDiscoveryHandler(void *ctx, OCDoHandle UNU
                     return OC_STACK_KEEP_TRANSACTION;
                 }
 
-                if(strcmp(clientResponse->addr->addr, "fe80::52b7:c3ff:fea1:9e6a%eth0") != 0)
-                {
-                    OIC_LOG_V(DEBUG, TAG, "discarding [%s]'s reply", clientResponse->addr->addr);
-                    DeleteDoxmBinData(ptrDoxm);
-                    return OC_STACK_KEEP_TRANSACTION;
-                }
-
                 res = AddDevice(ppDevicesList, &clientResponse->devAddr,
                         clientResponse->connType, ptrDoxm);
                 if (OC_STACK_OK != res)