t3hn3rd 48c203f028
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Fixed a DHCP bug
- Fixed a bug within `dhcp.pas` - `processPacket_OFFER` in which the client was responding with the client IP value within the DHCP header was incorrectly being filled out with the IP being requested & this value was then being used within the REQUESTED_IP_ADDRESS option. Corrected this to fill out the client IP with the currently configured IP, which will be NULL (0.0.0.0) on boot, and whatever is issued thereafter.
- Cascaded the change to use the currently configured IP as opposed to a NULL IP to any other functions that were calling `copyIPv4(@NULL_IP[0], @packetCtx^.IP.Source[0])`.
- Allowed `processPacket_OFFER` to process packets addressed to the BROADCAST MAC (WHY COULDN'T IT DO THIS ALREADY?!).
2025-03-17 00:00:21 +00:00
..
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2025-03-17 00:00:21 +00:00
2021-06-22 21:31:17 +01:00
2021-07-05 19:07:33 +01:00
2021-06-22 21:31:17 +01:00