From 4c27c21d33e19bb296ff7dbc861e88d461b5b55c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 31 Jan 2023 14:14:01 -0500 Subject: [PATCH] Fix missing attribute on redfish command objects Change-Id: I429abc1bf3784607c8a4f2f7b688f2285ca9a711 --- pyghmi/redfish/command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index dec7773b..740857bc 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -164,6 +164,7 @@ class Command(object): self._oem = None self._gpool = pool self._bmcv4ip = None + self._bmcv6ip = 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])