From 57ff9808c40e6c7845fe3643aaf11e294621949d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 11 Mar 2020 15:43:34 -0400 Subject: [PATCH] Fix infinite loop in DHCP parsing Accidentally failed to actually traverse the data. --- confluent_server/confluent/discovery/protocols/pxe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index 1be6aa0b..ad752a81 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -135,6 +135,7 @@ def opts_to_dict(rq, optidx): optnum = rq[optidx] optlen = rq[optidx + 1] reqdict[optnum] = rq[optidx + 2:optidx + 2 + optlen] + optidx += optlen + 2 except IndexError: pass if reqdict.get(53, [0])[0] != 1: