Removal of IB indom in Linux PMDA causes bad indomtab array lookups.
gcc reports ...
pmda.c: In function ‘linux_refresh’:
pmda.c:3344: warning: array subscript is above array bounds
pmda.c: In function ‘linux_fetchCallBack’:
pmda.c:4012: warning: array subscript is above array bounds
... since there's a hole in the array indexing where IB used to be
and NET_INET_INDOM (last entry in the array) is the victim. Added
in a dummy ("IB, deprecated") entry to fix this up. Also, cleaned
up a handful of whitespace abuses in this table while I was there.
Removal of IB indom in Linux PMDA causes bad indomtab array lookups.
gcc reports ...
pmda.c: In function ‘linux_refresh’:
pmda.c:3344: warning: array subscript is above array bounds
pmda.c: In function ‘linux_fetchCallBack’:
pmda.c:4012: warning: array subscript is above array bounds
... since there's a hole in the array indexing where IB used to be
and NET_INET_INDOM (last entry in the array) is the victim. Added
in a dummy ("IB, deprecated") entry to fix this up. Also, cleaned
up a handful of whitespace abuses in this table while I was there.