diff options
author | Tom McPhail <tom.mcphail@icloud.com> | 2020-08-11 22:51:23 +1000 |
---|---|---|
committer | Tom McPhail <tom.mcphail@icloud.com> | 2020-08-13 21:10:11 +1000 |
commit | f84fcf45711e9c41d21faa408dc85fe73439f3cd (patch) | |
tree | 6bf292909ab9f9c7ef8a7fc8d94ffba014f911ff /dhcpv6/options.go | |
parent | e10aec901335bf3bfea7ee5faf22cf0256f99420 (diff) |
Added structure, parsing and convenience fuctions for OptInformationRefreshTime (32) https://tools.ietf.org/html/rfc8415#section-21.23
Signed-off-by: Tom McPhail <tom.mcphail@icloud.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 16bc8d7..0ff5148 100644 --- a/dhcpv6/options.go +++ b/dhcpv6/options.go @@ -75,6 +75,8 @@ func ParseOption(code OptionCode, optData []byte) (Option, error) { opt, err = ParseOptIAPD(optData) case OptionIAPrefix: opt, err = ParseOptIAPrefix(optData) + case OptionInformationRefreshTime: + opt, err = parseOptInformationRefreshTime(optData) case OptionRemoteID: opt, err = ParseOptRemoteID(optData) case OptionFQDN: |