diff options
-rw-r--r-- | src/lib/dlt_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c index 0224378..e43c835 100644 --- a/src/lib/dlt_user.c +++ b/src/lib/dlt_user.c @@ -3145,7 +3145,7 @@ DltReturnValue dlt_user_trace_network_truncated(DltContext *handle, /* If truncation is allowed, check if we must do it */ if ((allow_truncate > 0) && ((header_len + payload_len + sizeof(uint16_t)) > dlt_user.log_buf_len)) { /* Identify as truncated */ - if (dlt_user_log_write_string(&log, DLT_TRACE_NW_END) < DLT_RETURN_OK) { + if (dlt_user_log_write_string(&log, DLT_TRACE_NW_TRUNCATED) < DLT_RETURN_OK) { dlt_user_free_buffer(&(log.buffer)); return DLT_RETURN_ERROR; } |