From fa8468eb0646a6474755c4b6fdd7af5c90df3f77 Mon Sep 17 00:00:00 2001 From: Valentino Orlandi Date: Fri, 9 Feb 2024 14:07:49 +0100 Subject: [PATCH] Fix Fixed some inaccuracies over LogsFormatField values --- logdoctor/modules/craplog/modules/lib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logdoctor/modules/craplog/modules/lib.h b/logdoctor/modules/craplog/modules/lib.h index cf5315a4..2d22dd4a 100644 --- a/logdoctor/modules/craplog/modules/lib.h +++ b/logdoctor/modules/craplog/modules/lib.h @@ -83,7 +83,7 @@ enum LogsFormatField : uint32_t { _NO_PARSE_NEEDED = 0x80000000, // 10000000'00000000'00000000'00000000 // no need to parse _MAY_HAVE_SPACES = 0x01000000, // 00000001'00000000'00000000'00000000 - _COUNT_SPACES = 0x01000000, // 00000000'00000000'00000000'11111111 + _COUNT_SPACES = 0x000000ff, // 00000000'00000000'00000000'11111111 // response _RESPONSE_CODE = 0x00000100, // 00000000'00000000'00000001'00000000 response_code = 0x80000101, // 10000000'00000000'00000001'00000001 @@ -128,8 +128,8 @@ enum LogsFormatField : uint32_t { date_time_iso = 0x00c00002, // 00000000'11000000'00000000'00000010 date_time_gmt = 0x01c00003, // 00000001'11000000'00000000'00000011 date_time_mcs = 0x01c00004, // 00000001'11000000'00000000'00000100 - date_time_utc_d = 0x00d00002, // 00000000'11011000'00000000'00000001 - date_time_utc_t = 0x00d00001, // 00000000'11010000'00000000'00000010 + date_time_utc_d = 0x00980001, // 00000000'10011000'00000000'00000001 + date_time_utc_t = 0x00900002, // 00000000'10010000'00000000'00000010 date_time_yyyymmdd = 0x00880001, // 00000000'10001000'00000000'00000001 date_time_mmddyy = 0x00880002, // 00000000'10001000'00000000'00000010 date_time_mdyyyy = 0x00880004, // 00000000'10001000'00000000'00000100