diff --git a/LibOneM2M/OneM2M_Functions.ttcn b/LibOneM2M/OneM2M_Functions.ttcn index d0cc6e1e98bbbae84bcc6f78dffeabf017f3db5f..8570094c9916a6812285a7ec2e16ffe66ca2bfa2 100644 --- a/LibOneM2M/OneM2M_Functions.ttcn +++ b/LibOneM2M/OneM2M_Functions.ttcn @@ -7,7 +7,7 @@ * * @author ETSI * @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Functions.ttcn $ - * $Id: OneM2M_Functions.ttcn 192 2016-11-30 21:52:33Z reinaortega $ + * $Id: OneM2M_Functions.ttcn 194 2016-12-01 05:25:09Z reinaortega $ * @desc Module containing functions for oneM2M * */ @@ -743,7 +743,9 @@ module OneM2M_Functions { var integer p_locresourceIndex := p_parentIndex; var template ListOfURIs v_defaultListOfURIs := {"NotInitialized"}; - p_request.from_ := f_getOriginator(p_parentIndex); + if(p_resourceType != int2) { + p_request.from_ := f_getOriginator(p_parentIndex); + } p_request.to_ := f_getResourceAddress(p_parentIndex); if (p_resourceType == int1) {//AccessControlPolicy