Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
getter (#62)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add NewAdvertiseFromSolicit
|
|
|
|
Fixed OptUserClass and added unit test
|
|
dhcpv6: option userclass: supporting multiple user classes
|
|
|
|
dhcpv6: added modifiers
Added support for packet modifiers, i.e. functions that can arbitrarily
manipulate a DHCPv6 packet. These modifiers are used by NewMessage,
NewSolicitForInterface, NewRequestForAdvertise, and can be used by other
packet creation functions.
A bunch of sample modifiers have been added under modifiers.go , too.
With the introduction of modifiers I also removed some options that
should not necessarily be in a standard DHCPv6 message.
|
|
|
|
|
|
Before this patch the client just took whatever DHCP message it
received, without checking if it's what it wants. Now it checks for the
message type.
If the message is not a relay, also check the transaction ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix DHCPv6Relay ToBytes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|