From 620189eaa8ecfd3cd9f8209a145d2b24a0cf447f Mon Sep 17 00:00:00 2001 From: Pablo Mazzini Date: Sun, 29 Jul 2018 13:03:00 +0200 Subject: parse OptSubnetMask --- dhcpv4/options.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dhcpv4/options.go b/dhcpv4/options.go index 5e6da80..198fbb0 100644 --- a/dhcpv4/options.go +++ b/dhcpv4/options.go @@ -40,6 +40,8 @@ func ParseOption(data []byte) (Option, error) { err error ) switch OptionCode(data[0]) { + case OptionSubnetMask: + opt, err = ParseOptSubnetMask(data) case OptionDHCPMessageType: opt, err = ParseOptMessageType(data) case OptionParameterRequestList: -- cgit v1.2.3