]> The Tcpdump Group git mirrors - tcpdump/commit
The ifSpeed field of a generic interface counter in sFlow is 64 bits.
authorRick Jones <[email protected]>
Thu, 2 Jun 2011 17:56:08 +0000 (10:56 -0700)
committerGuy Harris <[email protected]>
Thu, 2 Jun 2011 17:56:08 +0000 (10:56 -0700)
commit96c2a764eb27e7073d3722740ce938fead87266c
tree1bc72a3722d4ed6cd0c6f2ebe92cc7f31f1bf3ef
parent017bac571b9c93cdf53e8de9c68cb307fd306059
The ifSpeed field of a generic interface counter in sFlow is 64 bits.

The "overlay" definition in print-sflow.c is correct, but the actual
extract for printing is using EXTRACT_32BITS rather than EXTRACT_64BITS,
which leads to an incorrect report for speed.

Reviewed-By: Guy Harris <[email protected]>
print-sflow.c