diff --git a/pyghmi/ipmi/fru.py b/pyghmi/ipmi/fru.py index 0b132510..cec37ef6 100644 --- a/pyghmi/ipmi/fru.py +++ b/pyghmi/ipmi/fru.py @@ -229,6 +229,7 @@ class FRU(object): # Additionally 0xfe has been observed, which should be a thorn, but # again assuming termination of string is more likely than thorn. retinfo = retinfo.rstrip(b'\xfe\xff\x10\x03\x00 ') + retinfo = retinfo.replace(b'\x00', b'') if lang in (0, 25): try: retinfo = retinfo.decode('iso-8859-1')