adafruit / Adafruit_CircuitPython_Wiznet5k

Pure-Python interface for WIZNET 5k Ethernet modules
Other
15 stars 37 forks source link

Fix timeout handling in DHCP lease renewal #169

Closed Jahor closed 3 months ago

Jahor commented 4 months ago

Use T1 and T2 times from DHCP response if available. Convert relative timeouts to ms. Remove unused _start_time field. Separate timeout fields from relative time from DHCP response.

Fixes #168