Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: nl-link-stats: use correct rtnl link stats maximum
Use __RTNL_LINK_STATS_MAX instead of RTNL_LINK_STATS_MAX when iterating over all rtnl link stat counters. Otherwise, the last stat counter will always be missing, as RTNL_LINK_STATS_MAX is the value of the last valid index. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
- Loading branch information