summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorManikandanChockalingam <manikandan.chockalingam@in.bosch.com>2018-10-30 02:51:50 +0100
committerChristoph Lipka <clipka@users.noreply.github.com>2018-10-30 10:51:50 +0900
commitac44c47265528ddd29afbb9a72bcf095a877ecd1 (patch)
tree99e4514402dfc5bdc7b2630e0fed656257b6b608 /src/lib
parent10a2c7673d2ae9d9ef8d59a417b6554881531a66 (diff)
downloadDLT-daemon-ac44c47265528ddd29afbb9a72bcf095a877ecd1.tar.gz
dlt-daemon: per ECU list of user information (#80)
Prepare daemon to store applications/context information of other ECUs as well. This commit prepares the dlt-daemon to store logs from passive nodes in a logstorage device. Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com> Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dlt_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c
index 8a6595e..60a97f5 100644
--- a/src/lib/dlt_client.c
+++ b/src/lib/dlt_client.c
@@ -581,7 +581,7 @@ DltReturnValue dlt_client_send_log_level(DltClient *client, char *apid, char *ct
}
req = (DltServiceSetLogLevel *) payload;
-
+ memset(req, 0, sizeof(DltServiceSetLogLevel));
req->service_id = DLT_SERVICE_ID_SET_LOG_LEVEL;
dlt_set_id(req->apid,apid);
dlt_set_id(req->ctid,ctid);
@@ -656,7 +656,7 @@ DltReturnValue dlt_client_send_trace_status(DltClient *client, char *apid, char
}
req = (DltServiceSetLogLevel *) payload;
-
+ memset(req, 0, sizeof(DltServiceSetLogLevel));
req->service_id = DLT_SERVICE_ID_SET_TRACE_STATUS;
dlt_set_id(req->apid,apid);
dlt_set_id(req->ctid,ctid);