From 9d21d9e0cf25f9f377a2642a0829c869d7af7427 Mon Sep 17 00:00:00 2001 From: Abhishek Sharma Date: Tue, 27 Sep 2016 17:26:04 +0530 Subject: [PATCH] RM fix for JIRA issue [1342] https://jira.iotivity.org/browse/IOT-1342 Change-Id: I80a8d442f93ac0f197029f32bc0918b668c2d708 Signed-off-by: Abhishek Sharma Reviewed-on: https://gerrit.iotivity.org/gerrit/12325 Tested-by: jenkins-iotivity Reviewed-by: Ashok Babu Channa (cherry picked from commit ae853c37baacf270d2ca1de192f21dbe63b1384e) Reviewed-on: https://gerrit.iotivity.org/gerrit/12383 --- resource/csdk/routing/src/routingmanager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resource/csdk/routing/src/routingmanager.c b/resource/csdk/routing/src/routingmanager.c index eb465e1..c382167 100644 --- a/resource/csdk/routing/src/routingmanager.c +++ b/resource/csdk/routing/src/routingmanager.c @@ -1171,6 +1171,7 @@ rewriteandexit: if(isRequest) { CARequestInfo_t *msg = message; + msg->info.dataType = CA_REQUEST_DATA; CAResult_t caRes = CASendRequest(&nextHop, msg); if (CA_STATUS_OK != caRes) { @@ -1190,6 +1191,7 @@ rewriteandexit: else { CAResponseInfo_t *msg = message; + msg->info.dataType = CA_RESPONSE_DATA; CAResult_t caRes = CASendResponse(&nextHop, msg); if (CA_STATUS_OK != caRes) { -- 2.7.4