• Eric Dumazet's avatar
    iproute2: add 64bit support to ifstat · a571587d
    Eric Dumazet authored
    Le lundi 23 août 2010 à 10:33 -0700, Stephen Hemminger a écrit :
    
    > I think this breaks the wraparound detection code in this command.
    >
    >
    
    OK lets fix the bug only, before adding 64bit counters capabilities.
    
    Thanks
    
    [PATCH] iproute2: add 64bit arches support to ifstat
    
    ifstat assumes IFLA_STATS fields are "unsigned long", but they are
    __u32. This fix is needed to let ifstat run on 64bit arches.
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    a571587d
ifstat.c 16.4 KB