You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -269,6 +271,10 @@ int main(int argc, char **argv)
269
271
disable_beacon=1;
270
272
break;
271
273
274
+
case'e':
275
+
error_mask=strtoul(optarg, NULL, 16);
276
+
break;
277
+
272
278
case'h':
273
279
print_usage();
274
280
return0;
@@ -651,6 +657,7 @@ void print_usage(void)
651
657
printf("\t-l <interface> (changes the default network interface the daemon will\n\t\tbind to - default: %s)\n", DEFAULT_INTERFACE);
652
658
printf("\t-u <name> (the AF_UNIX socket path - abstract name when leading '/' is missing)\n\t\t(N.B. the AF_UNIX binding will supersede the port/interface settings)\n");
653
659
printf("\t-n (deactivates the discovery beacon)\n");
660
+
printf("\t-e <error_mask> (enable CAN error frames in raw mode providing an hexadecimal error mask, e.g: 0x1FFFFFFF)\n");
654
661
printf("\t-d (set this flag if you want log to syslog instead of STDOUT)\n");
0 commit comments