diff options
author | Xuehao (David) Hu <xuehaohu@google.com> | 2020-02-04 12:00:29 -0800 |
---|---|---|
committer | Xuehao (David) Hu <xuehaohu@google.com> | 2020-02-06 18:15:13 -0800 |
commit | 8a245966f316b2f19e13e806a95ef1c4e6806eb5 (patch) | |
tree | c077ddd63a2f91cade9c6e14be46c6fef1b9e234 /dhcpv6/options.go | |
parent | 5214532ecf392e5a8818355f3fff993aaef42c06 (diff) |
hcpv6 fqdn: implements OptionFQDN option
per https://tools.ietf.org/rfc/rfc4704.txt
Signed-off-by: Xuehao (David) Hu <xuehaohu@google.com>
Diffstat (limited to 'dhcpv6/options.go')
-rw-r--r-- | dhcpv6/options.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv6/options.go b/dhcpv6/options.go index fb36a38..e653c01 100644 --- a/dhcpv6/options.go +++ b/dhcpv6/options.go @@ -73,6 +73,8 @@ func ParseOption(code OptionCode, optData []byte) (Option, error) { opt, err = ParseOptIAPrefix(optData) case OptionRemoteID: opt, err = ParseOptRemoteId(optData) + case OptionFQDN: + opt, err = ParseOptFQDN(optData) case OptionBootfileURL: opt, err = ParseOptBootFileURL(optData) case OptionBootfileParam: |