We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30aa274 commit 5fd1245Copy full SHA for 5fd1245
adafruit_wiznet5k/adafruit_wiznet5k_dhcp.py
@@ -366,9 +366,8 @@ def _handle_dhcp_message(self) -> int:
366
raise ValueError(
367
"FSM can only send messages while in SELECTING or REQUESTING states."
368
)
369
+ message_length = self._generate_dhcp_message(message_type=msg_type_out)
370
for attempt in range(4): # Initial attempt plus 3 retries.
- message_length = self._generate_dhcp_message(message_type=msg_type_out)
371
-
372
if self._renew:
373
dhcp_server_address = self.dhcp_server_ip
374
else:
0 commit comments