Comments for Linux Interface Traffic Monitor

17 Jun 2009 22:17 florentcueto

The line to insert is:

sa_len = sizeof sa;

20 Feb 2009 21:52 florentcueto

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,

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.