2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix ProxyDHCP reply

Use the memoryview instead
of the bytearray for correct
use.
This commit is contained in:
Jarrod Johnson 2020-04-09 09:20:34 -04:00
parent acda061710
commit d18c0a576d

View File

@ -238,7 +238,7 @@ def proxydhcp():
node = uuidmap[disco['uuid']]
if not node:
continue
myipn = myipbypeer.get(rq[28:44].tobytes(), None)
myipn = myipbypeer.get(rqv[28:44].tobytes(), None)
if not myipn:
continue
if opts.get(77, None) == b'iPXE':