2
0
mirror of https://opendev.org/x/pyghmi synced 2025-03-03 17:51:06 +00:00

Fix relog attempt

While it would manage to send the first packet of a
relog, it would then go on to report the transient
error.

Change-Id: I9eb39290ffd259fe56c5d923a7ee9ed229f9f6e1
This commit is contained in:
Jarrod Johnson 2021-03-26 16:42:27 -04:00
parent b4bc1c7245
commit 5494bf50e3

View File

@ -1580,6 +1580,7 @@ class Session(object):
# RAKP4 got dropped, BMC can consider it done and we must
# restart
self._relog()
return
# ignore 15 value if we are retrying.
# xCAT did but I can't recall why exactly
if data[1] == 15 and self.logontries: