2
0
mirror of https://opendev.org/x/pyghmi synced 2026-05-18 04:07:19 +00:00

Merge "Fix bmc network configuration over ipv6 client"

This commit is contained in:
Zuul
2021-12-09 18:23:09 +00:00
committed by Gerrit Code Review
+1
View File
@@ -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])