diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 40f570dc..73b46c00 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -254,6 +254,7 @@ class Command(object): self._varfwinventory = None self._oem = None self._gpool = pool + self._bmcv4ip = None for addrinf in socket.getaddrinfo(bmc, 0, 0, socket.SOCK_STREAM): if addrinf[0] == socket.AF_INET: self._bmcv4ip = socket.inet_pton(addrinf[0], addrinf[-1][0])