From d18c0a576d11ad785d94750f86d89fb06502b9c5 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 9 Apr 2020 09:20:34 -0400 Subject: [PATCH] Fix ProxyDHCP reply Use the memoryview instead of the bytearray for correct use. --- confluent_server/confluent/discovery/protocols/pxe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index d5d3e7a8..f4448599 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -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':