From: hyuna0213.jo Date: Tue, 16 Aug 2016 22:54:59 +0000 (+0900) Subject: Fix wrong network interface length when secured option is true X-Git-Tag: 1.2.0+RC1~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6bfe1238101ec8a12790f289070fbd4e36043d55;p=platform%2Fupstream%2Fiotivity.git Fix wrong network interface length when secured option is true If secured option is true, network interface length contain invalid values. Change-Id: Id6a99ad9ea5d03de724239e9a0d9b21ece3cbe19 Signed-off-by: hyuna0213.jo Reviewed-on: https://gerrit.iotivity.org/gerrit/10525 Tested-by: jenkins-iotivity Reviewed-by: jihwan seo Reviewed-by: Ashok Babu Channa --- diff --git a/resource/csdk/connectivity/src/ip_adapter/caipserver.c b/resource/csdk/connectivity/src/ip_adapter/caipserver.c index f569b7c..2cd8e00 100644 --- a/resource/csdk/connectivity/src/ip_adapter/caipserver.c +++ b/resource/csdk/connectivity/src/ip_adapter/caipserver.c @@ -1503,7 +1503,7 @@ CAResult_t CAGetIPInterfaceInformation(CAEndpoint_t **info, uint32_t *size) } *info = eps; - *size = len; + *size = length; u_arraylist_destroy(iflist);