summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/options.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2020-03-09 18:16:37 +0000
committerGitHub <noreply@github.com>2020-03-09 18:16:37 +0000
commitbd34b7c6963c8c124b45759423d41987d428668e (patch)
treeb48d7636ee8a827816653f8c4d6d394d1fe6c3e4 /dhcpv6/options.go
parent200399fb8fcb0ba141e171ed0ce3ce23758b877a (diff)
parent50dff916c60c6eb81be8be8eab2cd396ad6ccd91 (diff)
Merge pull request #361 from mikma/feature/dhcp4-o-dhcp6
dhcpv6: add DHCPv4-over-DHCPv6 support
Diffstat (limited to 'dhcpv6/options.go')
-rw-r--r--dhcpv6/options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/dhcpv6/options.go b/dhcpv6/options.go
index 9b76f6d..87a33ff 100644
--- a/dhcpv6/options.go
+++ b/dhcpv6/options.go
@@ -87,6 +87,10 @@ func ParseOption(code OptionCode, optData []byte) (Option, error) {
var o OptNetworkInterfaceID
err = o.FromBytes(optData)
opt = &o
+ case OptionDHCPv4Msg:
+ opt, err = ParseOptDHCPv4Msg(optData)
+ case OptionDHCP4oDHCP6Server:
+ opt, err = ParseOptDHCP4oDHCP6Server(optData)
case Option4RD:
opt, err = ParseOpt4RD(optData)
case Option4RDMapRule: