A bit more playing around indicates that /proc/net/dev is not being
parsed properly by vnstat.

changing strtoul to strtoull on lines 213 and 254 in vnstat.c appears
to fix the problem, I am not yet sure why.  I'm guessing something is
going wrong at compile time (?) that is not setting #BTIME properly,
thus causing it to use the wrong function.  This would kind of explain
why this problem only occurs on certain systems, but not quite.  The
systems that vnstat breaks on appear to work for a short amount of
time after installation, and for short periods of time after reboot.

--
Ryan Rawdon
Computer and Systems Engineering, IT
Rensselaer Polytechnic Institute '08


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to