summaryrefslogtreecommitdiff
path: root/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@jp.adit-jv.com>2015-11-13 14:45:10 +0900
committerLutz Helwing <lutz_helwing@mentor.com>2015-12-07 10:07:26 +0100
commit1e697cc45d8771fe15e6271ac722798f2a90d048 (patch)
tree924740aefdf12e857ea2016895d8191b8be440ac /src/offlinelogstorage/dlt_offline_logstorage_behavior.c
parent5acb7dd008a57f6da3bf7b9cf85cfc2c86cac151 (diff)
downloadDLT-daemon-1e697cc45d8771fe15e6271ac722798f2a90d048.tar.gz
MultiNode: Logstorage: ECUid as filter attribute
This patch enables the user to specify the ECU identifier as another filter attribute for a Logstorage filter configuration. This attribute is optional. If not specified, the ECUid will not be checked during message filtering within the Logstorage component. Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage_behavior.c')
-rw-r--r--src/offlinelogstorage/dlt_offline_logstorage_behavior.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
index 77823ee..43c4d68 100644
--- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
+++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
@@ -68,6 +68,7 @@ void dlt_logstorage_log_file_name(char *log_file_name,
strncat(log_file_name, &file_config->logfile_delimiter, 1);
snprintf(file_index, 10, "%d",idx);
+
if (file_config->logfile_maxcounter != UINT_MAX)
{
/* Setup 0's to be appended in file index until max index len*/