11 Commits

Author SHA1 Message Date
48c203f028 Fixed a DHCP bug
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
- 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
64b3c9a7ba Apache License
Added the apache license to all source files, accounting for authors. Also added a license.md containing the apache license + contributors.md listing all contributors.
2021-06-22 21:31:17 +01:00
kieron
5e4308ab2d Commented DHCP code.
git-svn-id: https://spexeah.com:8443/svn/Asuro@1046 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-12 22:18:11 +00:00
kieron
03f7d618cb git-svn-id: https://spexeah.com:8443/svn/Asuro@1045 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2020-07-12 21:44:23 +00:00
kieron
a51b022eef Fixed DHCP error with TXID being switched.
git-svn-id: https://spexeah.com:8443/svn/Asuro@1041 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-12 21:17:13 +00:00
kieron
c70acdb0af git-svn-id: https://spexeah.com:8443/svn/Asuro@1037 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2020-07-12 20:37:05 +00:00
kieron
fbc59a1617 DHCP Works now.
git-svn-id: https://spexeah.com:8443/svn/Asuro@1034 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-12 17:02:14 +00:00
kieron
b9666fb196 git-svn-id: https://spexeah.com:8443/svn/Asuro@974 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2020-07-11 18:50:23 +00:00
kieron
717a642370 Dchp thing fixed. yord.
git-svn-id: https://spexeah.com:8443/svn/Asuro@972 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-11 01:05:33 +00:00
kieron
739898068b md5 complete + md5sum added as a prog.
git-svn-id: https://spexeah.com:8443/svn/Asuro@971 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-11 00:44:05 +00:00
kieron
29f986a8e4 Started work on DHCP.
git-svn-id: https://spexeah.com:8443/svn/Asuro@926 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-10 14:51:48 +00:00