arcress0 / ipmiutil

ipmiutil is an easy to use set of IPMI server management utilities. It can get/set sensor readings & thresholds, automate SEL management, do SOL console, etc. Supports Linux, Windows, BSD, Solaris, MacOSX. The only IPMI project tool that runs natively on Windows. See http://ipmiutil.sf.net for rpms, etc. (formerly called panicsel). It can run driverless in Linux for use on boot media or embedded environments.
BSD 3-Clause "New" or "Revised" License
33 stars 5 forks source link

isensor -i flag with range of IDs: the last sensor ID in the range is not included #6

Closed btowntkd closed 1 year ago

btowntkd commented 2 years ago

This is a potential off-by-one error; when using the isensor -i flag with a range of sensor IDs (i.e. -i 0x01-0xff), the last sensor ID is not included in the report (0xFE is included, 0xFF is not).

Is this intended behavior? If so, the documentation should reflect this, as it is not intuitive. If not, we should update the loop so that the last sensor ID is included in the range.

arcress0 commented 1 year ago

I have made a change to correct this in ipmiutil-3.1.9

arcress0 commented 1 year ago

fixed in ipmiutil-3.1.9