Comments for Linux Interface Traffic Monitor
20 Feb 2009 21:52
Patch needed
Hi,
I don't know why but after upgrading from debian 3.0 (sarge) to debian 5.0 (lenny), the daemon does not work anymore.
You have to edit the file iftrafd.cc, and insert the following line:
socklen_t sa_len;
sa_len = sizeof sa;
int r = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *)&sa, &sa_len);
then recompile using g++.
Cheers,
The line to insert is:
sa_len = sizeof sa;