mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
sniff: ensure the checksum error flag is also printed
the firmware now also use a generic value_string array (as does the host application) Change-Id: I861bd8b52e8f2f2a4786bbe1cc834917119dc394
This commit is contained in:
@@ -131,14 +131,14 @@ const struct value_string data_flags[] = {
|
||||
.value = SNIFF_DATA_FLAG_ERROR_MALFORMED,
|
||||
.str = "malformed",
|
||||
},
|
||||
{
|
||||
.value = 0,
|
||||
.str = NULL,
|
||||
},
|
||||
{
|
||||
.value = SNIFF_DATA_FLAG_ERROR_CHECKSUM,
|
||||
.str = "checksum error",
|
||||
},
|
||||
{
|
||||
.value = 0,
|
||||
.str = NULL,
|
||||
},
|
||||
};
|
||||
|
||||
static void print_flags(const struct value_string* flag_meanings, uint32_t nb_flags, uint32_t flags) {
|
||||
|
||||
Reference in New Issue
Block a user