summaryrefslogtreecommitdiff
path: root/src/console/dlt-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/dlt-control.c')
-rw-r--r--src/console/dlt-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/dlt-control.c b/src/console/dlt-control.c
index 49b7de8..15a1435 100644
--- a/src/console/dlt-control.c
+++ b/src/console/dlt-control.c
@@ -424,9 +424,9 @@ int main(int argc, char* argv[])
dlt_client_register_message_callback(dlt_receive_message_callback);
/* Setup DLT Client structure */
- g_dltclient.serial_mode = dltdata.yflag;
+ g_dltclient.mode = dltdata.yflag;
- if (g_dltclient.serial_mode==0)
+ if (g_dltclient.mode==DLT_CLIENT_MODE_TCP)
{
for (index = optind; index < argc; index++)
{