summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-07-31 11:17:31 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-07-31 11:17:31 +0200
commit6f8e78fd7f9fd9aa658246645d4f75fea43f344c (patch)
tree75ee18f5dfecd536369d37696dd5f6fd407cfd11
parent7452e8de6d21fbd1a6bbcaa1b63643f42f1f217c (diff)
OptDomainSearch
-rw-r--r--dhcpv4/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go
index 760bc98..e7a50b9 100644
--- a/dhcpv4/options.go
+++ b/dhcpv4/options.go
@@ -72,6 +72,8 @@ func ParseOption(data []byte) (Option, error) {
opt, err = ParseOptBootfileName(data)
case OptionUserClassInformation:
opt, err = ParseOptUserClass(data)
+ case OptionDNSDomainSearchList:
+ opt, err = ParseOptDomainSearch(data)
default:
opt, err = ParseOptionGeneric(data)
}