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 06a1028..f8445bb 100644
--- a/dhcpv6/options.go
+++ b/dhcpv6/options.go
@@ -105,6 +105,8 @@ func ParseOption(code OptionCode, optData []byte) (Option, error) {
opt, err = ParseOpt4RDMapRule(optData)
case Option4RDNonMapRule:
opt, err = ParseOpt4RDNonMapRule(optData)
+ case OptionRelayPort:
+ opt, err = parseOptRelayPort(optData)
default:
opt = &OptionGeneric{OptionCode: code, OptionData: optData}
}