summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS. Hameed <shameed@jp.adit-jv.com>2015-12-09 16:03:42 +0900
committerLutz Helwing <lutz_helwing@mentor.com>2015-12-16 10:41:36 +0100
commitf54b52d764a7ea0f4c80e6124f5d89d3968d2906 (patch)
treeda184aa56d79d6eb046135a8c15d45029b0c4137
parent0b935db1bc278dd0e761163d904e8c3f0cf431a8 (diff)
downloadDLT-daemon-f54b52d764a7ea0f4c80e6124f5d89d3968d2906.tar.gz
dlt-daemon: Fix injection message handling
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
-rw-r--r--src/daemon/dlt_daemon_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
index 9e7638d..c92601e 100644
--- a/src/daemon/dlt_daemon_client.c
+++ b/src/daemon/dlt_daemon_client.c
@@ -440,7 +440,7 @@ int dlt_daemon_client_process_control(int sock, DltDaemon *daemon, DltDaemonLoca
id_tmp = *((uint32_t*)(msg->databuffer));
id=DLT_ENDIAN_GET_32(msg->standardheader->htyp ,id_tmp);
- if ((id > 0) && (id != DLT_SERVICE_ID_CALLSW_CINJECTION))
+ if ((id > 0) && (id < DLT_SERVICE_ID_CALLSW_CINJECTION))
{
/* Control message handling */
switch (id)