From: hyuna0213.jo Date: Fri, 19 May 2017 09:48:02 +0000 (+0900) Subject: [IOT-2283] connectivity: Fixed the duplicated response issue on discovery X-Git-Tag: 1.3.0~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e62c9d02114cb792b0253406f9581819f82adee;p=platform%2Fupstream%2Fiotivity.git [IOT-2283] connectivity: Fixed the duplicated response issue on discovery Dualstack is unnecessary condition. Bug: https://jira.iotivity.org/browse/IOT-2283 Change-Id: I1a0635fdfc85c27ead8da66b1bd2ccd7fe1e25c4 Signed-off-by: hyuna0213.jo Reviewed-on: https://gerrit.iotivity.org/gerrit/20117 Tested-by: jenkins-iotivity Reviewed-by: Ashok Babu Channa Reviewed-by: Uze Choi --- diff --git a/resource/csdk/connectivity/src/camessagehandler.c b/resource/csdk/connectivity/src/camessagehandler.c index f5faebc..7d92e47 100755 --- a/resource/csdk/connectivity/src/camessagehandler.c +++ b/resource/csdk/connectivity/src/camessagehandler.c @@ -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) {