[IOT-2283] connectivity: Fixed the duplicated response issue on discovery
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Fri, 19 May 2017 09:48:02 +0000 (18:48 +0900)
committerUze Choi <uzchoi@samsung.com>
Sun, 21 May 2017 01:28:26 +0000 (01:28 +0000)
Dualstack is unnecessary condition.

Bug: https://jira.iotivity.org/browse/IOT-2283
Change-Id: I1a0635fdfc85c27ead8da66b1bd2ccd7fe1e25c4
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20117
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
resource/csdk/connectivity/src/camessagehandler.c

index f5faebc..7d92e47 100755 (executable)
@@ -691,10 +691,6 @@ static bool CADropSecondMessage(CAHistory_t *history, const CAEndpoint_t *ep, ui
     {
         return false;
     }
-    if (!caglobals.ip.dualstack)
-    {
-        return false;
-    }
 
     if (tokenLength > CA_MAX_TOKEN_LEN)
     {