Compare commits

..

1 Commits

Author SHA1 Message Date
Carsten Schmidt c31a9a6c4a
Merge 15ed00a985 into 93a7b2dfd3 2025-06-06 02:46:11 +00:00
1 changed files with 3 additions and 3 deletions

View File

@ -987,12 +987,12 @@ int main(int argc, char **argv)
rnd = random();
if (xl_flags_mode == MODE_RANDOM) {
cu.xl.flags = rnd & (CANXL_SEC | CANXL_RRS);
cu.xl.flags = rnd & CANXL_SEC;
} else if (xl_flags_mode == MODE_FIX) {
cu.xl.flags = xl_flags;
} else if (xl_flags_mode == MODE_INCREMENT) {
xl_flags++;
cu.xl.flags = (xl_flags & (CANXL_SEC | CANXL_RRS));
xl_flags ^= CANXL_SEC;
cu.xl.flags = (xl_flags & CANXL_SEC);
}
/* mark CAN XL frame */