ifstat: import fixes from Debian package
authorMatthieu Baerts <redacted>
Mon, 26 Oct 2020 15:53:05 +0000 (16:53 +0100)
committerRosen Penev <redacted>
Wed, 28 Oct 2020 06:53:28 +0000 (23:53 -0700)
commitdfc8fdf5e54565c3c2e868ebbf70d67d62bca585
treec6d007f3f921c30e359ed26c8fc9dd2bf2e83275
parenteac8d38816327acba0205cd70f71e526c0baad69
ifstat: import fixes from Debian package

Extracted from:

  http://deb.debian.org/debian/pool/main/i/ifstat/ifstat_1.1-8.1.diff.gz

Note that I also created a new git repository with these fixes:

  https://github.com/matttbe/ifstat/

The original author of these modification is:

  Goswin von Brederlow <redacted>

ChangeLog:

  * snmp.c: fix 2 pointer targets differ in signedness warnings
  * Adding upport for 64bit /proc/net/dev counters.
  * Clean up compiler warnings.

More modifications are available in the patch from the Debian project
but mostly related to the "debian" dir, man page and debug mode. Here I
only took the modifications related to the .c and .h files.

The most important fix is related to the support for 64bit counters in
/proc/net/dev instead of displaying 0 after a while.

Signed-off-by: Matthieu Baerts <redacted>
net/ifstat/Makefile
net/ifstat/patches/0001-support-64-bits-counters-and-fix-gcc-warnings.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT