All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- updated trust-dns-proto to hickory-proto
- htype for v6
- v6
NTP_SERVER
Encoder::buffer_filled
andEncoder::len_filled
- v6 DUID type writing full 2-bytes from htype
- fix v6 possiblity to overrun options array on
get
- AgentRemoteId was returning the wrong variant on decode
- RFC 2563/8925
- dhcpv6: Fix OPTION_STATUS_CODE parsing. After a status code option, all following options will be corrupted
- add v4 options 21/24/25/34 & 62..65 & 68..77
- add v4 opts 88 & 89. 88 uses same domain long opt encoding as 119
- Picked more consistent name & casing for option types
- remove Domain type and just re-export trust-dns Name
PartialOrd
/Ord
impls forv4::DhcpOption
/v6::DhcpOption
/v4::OptionCode
/v6::OptionCode
v6::DhcpOptions
methods*_all
v6::Duid
& methodsv6::Message
Display
implv6::RelayMessage
v4::NISServerAddr
added to optionsv4::Message::clear_sname
/clear_fname
added- dhcpv4 opt client fqdn added. uses trust-dns-proto's
Name
type to decode the domain
- internally, v6 DhcpOptions are now kept sorted by OptionCode (may become
HashMap<_, Vec<_>>
in future) DhcpOptions::RelayMsg()
type changed toRelayMessage
- moved Duid to duid module
- added oro_codes
- relay agent info will be added before END opt if present see here
- fixed panic on .get for v6 options
- dhcpv4 option variants added (breaking)
- dhcpv4 message type variants added (breaking)
- ClientNetworkInterface removed inner tuple
- Change
has_msg_type
return type to justbool
- v6
set_xid_num
was taking bytes from the wrong end - dhcpv6 DomainSearchList (opt 24)
- dhcpv4 opt 119 DomainSearch
- dhcpv4 opt 114 CaptivePortal
- dhcpv4 message variants 9-18 added, breaking change for
MessageType
- dhcpv4 added DhcpOption for 91/92/93/94/97
- UnknownOption encode/decode
- dhcpv4 options 151-157 from bulkleasequery RFC
- add
Display
impl forv4::Message
- breaking DHCP Inform message variant
- bug in
set_chaddr
wherehlen
was not set
- methods for
dhcpv6::UnknownOption
&RelayMsg
- exposed some dhcpv6 opt fields as
pub
InterfaceId
type changed fromString
toVec<u8>
VendorClass
/UserClass
changed toVec<Vec<u8>>
ElapsedTime
andPreference
- added
clear
/is_empty
/retain
to v4 opts & relay agent sub-opts
- breaking options enum for
v4::DhcpOption
was decoding into the wrong variants for a few types
- expose methods so one can actually create RelayInfo/RelayAgentInformation
- methods to get the data out of various Unknown variants for opts/relay
- added option 118 subnet selection
- return impl Iterator for relay/opt iterator methods
- more docs for opts/relay info
DhcpOption
variants added for v4- some opt method return types have changed
iter()
/iter_mut()
sname
/fname
types changed fromString
to[u8]
- perf improved for
Decoder