diff options
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r-- | dhcpv4/options.go | 3 |
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 |