/*
- * $Id$
- */
-
-/*
* canlogserver.c
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
fprintf(stderr, " <received_can_id> & mask == value & mask\n");
fprintf(stderr, "\n");
fprintf(stderr, "When using more than one CAN interface the options\n");
- fprintf(stderr, "m/v/i/e have comma seperated values e.g. '-m 0,7FF,0'\n");
+ fprintf(stderr, "m/v/i/e have comma separated values e.g. '-m 0,7FF,0'\n");
fprintf(stderr, "\nUse interface name '%s' to receive from all CAN interfaces.\n\n", ANYDEV);
}
const int canfd_on = 1;
int nbytes, i, j, maxdlen;
struct ifreq ifr;
- struct timeval tv, last_tv;
+ struct timeval tv;
int port = DEFPORT;
struct sockaddr_in inaddr;
struct sockaddr_in clientaddr;
sigaction(SIGTERM, &signalaction, NULL); /* install Signal for termination */
sigaction(SIGINT, &signalaction, NULL); /* install Signal for termination */
-
- last_tv.tv_sec = 0;
- last_tv.tv_usec = 0;
-
while ((opt = getopt(argc, argv, "m:v:i:e:p:?")) != -1) {
switch (opt) {