summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r--dhcpv4/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go
index a1b5c93..acc2bf5 100644
--- a/dhcpv4/options.go
+++ b/dhcpv4/options.go
@@ -52,6 +52,8 @@ func ParseOption(data []byte) (Option, error) {
opt, err = ParseOptMaximumDHCPMessageSize(data)
case OptionClassIdentifier:
opt, err = ParseOptClassIdentifier(data)
+ case OptionDomainName:
+ opt, err = ParseOptDomainName(data)
default:
opt, err = ParseOptionGeneric(data)
}