Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check /proc/net/snmp format for ICMP statistics
"InCsumErrors" field was added following "InErrors" in the ICMP line of statistics. So we may have two different formats to deal with: The old one, where "InCsumErrors" doesn't exist, and the new one including "InCsumErrors" field. This patch adds a check to know which format it is and read the various statistics at their right position. Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
- Loading branch information