9 Commits

Author SHA1 Message Date
David Anderson
576e70e92c Add copyright/license headers to source. 2016-03-05 15:14:52 -08:00
David Anderson
e8fa791c89 Make the debug string function public, so that the pxe package can use it. 2016-02-28 01:08:42 -08:00
David Anderson
d6ac0332dd Strip option 53 out of the options map, as the value is parsed into Type. 2016-02-28 01:08:12 -08:00
David Anderson
621a0c28e5 Implicitly add DHCP option 53 when marshalling. 2016-02-28 01:06:37 -08:00
David Anderson
33e5e06817 Change the separation between packets to help PXE testing. 2016-02-27 23:15:07 -08:00
David Anderson
3cbc2e2788 Add a test for DHCP marshalling.
And fix a bug in DHCP marshalling that the test found :).
2016-02-27 22:51:45 -08:00
David Anderson
e799b6e1ab Correct the parsing of the server IP address.
It's the address of the responding server, not the boot server. Which
makes sense, since there's another field for the boot server name.
2016-02-27 22:36:49 -08:00
David Anderson
fa657ad649 Add a basic regression test for DHCP parsing. 2016-02-27 22:34:18 -08:00
David Anderson
133baa88bd Initial implementation of DHCP parsing. 2016-02-27 16:35:40 -08:00