ipmid crashing with simplified VERSION_ID
if the VERSION_ID is v0.1 instead of v0.1-1 then the code will crash. The fix is to always check
for a NULL token each time.
Change ipmitool output to reflect hex value
VERSION_ID is equal to v0.6-36-gece9f78-dirty
I was forcing the '36' to be shown as 36. Turns out
that the ipmitool prepends the "Aux" section with a
'0x' indicating the value is in hex. So Rather then
it show up as 0x36 I made it actually be 0x24.
root@barreleye:~# ./ipmitool -I dbus mc info
IPMI GROUP EXTENTIONS
IPMI GROUP EXTENTIONS
Device ID : 0
Device Revision : 0
Firmware Revision : 0.06
IPMI Version : 2.0
Manufacturer ID : 42817
Manufacturer Name : Unknown (0xA741)
Product ID : 16451 (0x4043)
Product Name : Unknown (0x4043)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
Aux Firmware Rev Info :
0x00
0x24 <---- is decimal 36
0x01
0x00
root@barreleye:~#
1 file changed