diff options
Diffstat (limited to 'src/daemon/dlt_daemon_connection.c')
-rw-r--r-- | src/daemon/dlt_daemon_connection.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_connection.c b/src/daemon/dlt_daemon_connection.c index 0eee668..1a7af3f 100644 --- a/src/daemon/dlt_daemon_connection.c +++ b/src/daemon/dlt_daemon_connection.c @@ -200,6 +200,12 @@ static DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local, ret = &daemon_local->timer_wd; break; #endif + case DLT_CONNECTION_CONTROL_CONNECT: + /* FALL THROUGH */ + /* There must be the same structure for this case */ + case DLT_CONNECTION_CONTROL_MSG: + ret = &daemon_local->receiverCtrlSock; + break; default: ret = NULL; } @@ -253,6 +259,12 @@ void *dlt_connection_get_callback(DltConnection *con) ret = dlt_daemon_process_systemd_timer; break; #endif + case DLT_CONNECTION_CONTROL_CONNECT: + ret = dlt_daemon_process_control_connect; + break; + case DLT_CONNECTION_CONTROL_MSG: + ret = dlt_daemon_process_control_messages; + break; default: ret = NULL; } |