On Fri, 11 May 2012 10:42:35 +0200
Vitezslav Samel <vitezslav(a)samel.cz> wrote:
Since Linux 3.2 entries in /proc/net/dev are hashed and not sorted
by ifindex. Take care of that and sort them by ifindex in loading
time.
Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/ifstats.c | 40 +++++++++++++++++++++-------------------
1 files changed, 21 insertions(+), 19 deletions(-)
applied. thanks.