Package: vnstat Version: 1.4-4 Severity: normal Tags: patch If the interface name is longer than 6 characters the assumption of src/proc.c that the rx value is at procline+7 is no longer valid. The attached patch (04_fix_long_ifnames.dpatch04_fix_long_ifnames.dpatch) fixes this and makes parsing more robust in general.
I also discoverd a misleading error message in the same file. This is fixed in 03_fix_proc_stat_errormsg.dpatch Gaudenz -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.23-rc3 Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
03_fix_proc_stat_errormsg.dpatch
Description: application/shellscript
04_fix_long_ifnames.dpatch
Description: application/shellscript