summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/dhcpv6relay_test.go
AgeCommit message (Collapse)Author
2019-05-08Addressed various linter warningsAndrea Barberio
Mostly for dead code and potentially wrong comparisons. Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-04-23Revert "[dhcpv6] Solicit messages derive default IAID from MAC address"Andrea Barberio
This reverts commit b071bdc86a58037f6c745647c97fca202f3caef9. Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-04-23[dhcpv6] Solicit messages derive default IAID from MAC addressAndrea Barberio
IAID must be set by the client. This patch generates the IAID from the MAC address of the interface. To do so, a new WithIAID modifier is added, the interface of NewSolicitWithCID now requires a hwaddr parameter, and NewAdvertiseFromSolicit copies the IA_NA option from the solicit if present. Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-03-11dhcpv6: remove setters and getters.Christopher Koch
- Make members directly accessible.
2019-03-11dhcpv6: rename stuttering types.Christopher Koch
dhcpv6.DHCPv6Message -> dhcpv6.Message dhcpv6.DHCPv6Relay -> dhcpv6.RelayMessage
2019-01-26dhcpv6: introduce TransactionID typeChristopher Koch
2018-08-21Remove depracated function calls from the library (#145)MikoĊ‚aj Walczak
2018-08-15NewRelayReplFromRelayForwPablo Mazzini
2018-08-15NewRelayReplFromRelayForw: increase test coveragePablo Mazzini
2018-07-29DHCPv6: Fix message type constantsSean Karlage
Renames DHCPv6 constants for message types to CamelCase
2018-05-26Add NewRelayReplFromRelayForw (#69)Pablo Mazzini
2018-05-20OptIANA and OptElapsedTime now have public fieldsAndrea Barberio
2018-04-04fix DHCPv6Relay ToBytes (#28)Pablo Mazzini
fix DHCPv6Relay ToBytes
2017-12-23Fixed OptRelayMsg.ToBytes and added testsAndrea Barberio
2017-12-23Added setters and getter testing for DHCPv6RelayAndrea Barberio
2017-12-23Added setters and getters for DHCPv6Relay and basic testingAndrea Barberio