From f54b52d764a7ea0f4c80e6124f5d89d3968d2906 Mon Sep 17 00:00:00 2001 From: "S. Hameed" Date: Wed, 9 Dec 2015 16:03:42 +0900 Subject: dlt-daemon: Fix injection message handling Signed-off-by: S. Hameed --- src/daemon/dlt_daemon_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1