From 0098b49afe5f61734a0480aee62372d79f59e8d1 Mon Sep 17 00:00:00 2001
From: pkulkarni <pkulkarni75@gmail.com>
Date: Fri, 20 Oct 2017 14:50:03 +0200
Subject: [PATCH] Some correction in function f_cse_registrationRemoteCse

Signed-off-by: pkulkarni <pkulkarni75@gmail.com>
---
 LibOneM2M/OneM2M_Functions.ttcn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LibOneM2M/OneM2M_Functions.ttcn b/LibOneM2M/OneM2M_Functions.ttcn
index 57be855..20f6f49 100644
--- a/LibOneM2M/OneM2M_Functions.ttcn
+++ b/LibOneM2M/OneM2M_Functions.ttcn
@@ -1525,7 +1525,7 @@ module OneM2M_Functions {
 						v_response := m_responsePrimitive(int2001,v_request.primitive.requestPrimitive.requestIdentifier);
 						v_response.from_ := PX_CSE1_ID;
 						v_response.to_ := v_request.primitive.requestPrimitive.from_;
-						v_response.primitiveContent.remoteCSE := vc_localResourcesList[v_localResourceIndex].resource;
+						v_response.primitiveContent.remoteCSE := vc_localResourcesList[v_localResourceIndex].resource.remoteCSE;
 						mccPort.send(m_response(v_response));
 						
 						v_resourceIndex := f_setResource(v_request.primitive.responsePrimitive.primitiveContent, int16, -1);
-- 
GitLab