summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r--dhcpv4/options.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go
index 4968130..37607b7 100644
--- a/dhcpv4/options.go
+++ b/dhcpv4/options.go
@@ -344,6 +344,9 @@ func getOption(code OptionCode, data []byte, vendorDecoder OptionDecoder) fmt.St
case OptionVendorSpecificInformation:
d = vendorDecoder
+
+ case OptionClasslessStaticRoute:
+ d = &Routes{}
}
if d != nil && d.FromBytes(data) == nil {
return d