diff options
author | Christopher Koch <chrisko@google.com> | 2019-04-03 21:02:28 -0700 |
---|---|---|
committer | Chris K <c@chrisko.ch> | 2019-04-04 01:41:05 -0700 |
commit | b40bd52ae58aee37cec9ef81008e24488350c98f (patch) | |
tree | d4255f100add3e70cfa8e15b1b826cd80243a915 /dhcpv4/options.go | |
parent | 625d653f51917b167cc2e53ef8fe595e85dd5fa4 (diff) |
dhcpv4: add RFC3442 route options
Signed-off-by: Christopher Koch <chrisko@google.com>
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 |