summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/options.go
diff options
context:
space:
mode:
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 0268d22..3bca963 100644
--- a/dhcpv6/options.go
+++ b/dhcpv6/options.go
@@ -96,6 +96,8 @@ func ParseOption(dataStart []byte) (Option, error) {
opt, err = ParseOptInterfaceId(optData)
case OPTION_CLIENT_ARCH_TYPE:
opt, err = ParseOptClientArchType(optData)
+ case OPTION_NII:
+ opt, err = ParseOptNetworkInterfaceId(optData)
default:
opt = &OptionGeneric{OptionCode: code, OptionData: optData}
}