diff options
-rw-r--r-- | dhcpv4/options.go | 2 |
1 files changed, 2 insertions, 0 deletions
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: |