8 Commits

Author SHA1 Message Date
David Anderson
8dfa75434e dhcp4: allow duplication of option 56 (Debug message).
Turns out real DHCP servers can duplicate this message.
2016-06-18 16:44:06 -07:00
David Anderson
7a39e0e685 Actually name the package correctly, so that it can be imported. 2016-05-17 21:52:27 -07:00
David Anderson
3fb28ed0f7 dhcp4: Add tests for the option accessors... and fix a bug.
Turns out tests are useful.
2016-05-15 17:45:54 -07:00
David Anderson
c412f00cb8 dhcp4: add consts for common options, and option getters. 2016-05-15 17:26:35 -07:00
David Anderson
458d5eb0e8 Document the new non-interface Conn type. 2016-05-15 15:04:59 -07:00
David Anderson
53e4bfd991 dhcp4: refactor the low-level packet sending.
This lets the implementations share the transmission strategy and
decoding/sanity logic.
2016-05-15 14:56:09 -07:00
David Anderson
e46cf1fec1 dhcp4: correct import constraint so that we can actually import. 2016-05-15 13:41:39 -07:00
David Anderson
50f74885e9 dhcp: rename to dhcp4. 2016-05-15 13:39:49 -07:00