summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/options.go
diff options
context:
space:
mode:
authorTom McPhail <tom.mcphail@icloud.com>2020-08-11 22:51:23 +1000
committerTom McPhail <tom.mcphail@icloud.com>2020-08-13 21:10:11 +1000
commitf84fcf45711e9c41d21faa408dc85fe73439f3cd (patch)
tree6bf292909ab9f9c7ef8a7fc8d94ffba014f911ff /dhcpv6/options.go
parente10aec901335bf3bfea7ee5faf22cf0256f99420 (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.go2
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: