summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_domain_search.go
blob: b57754f5c37cdaee11d84273cb5945b14b8b1aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package dhcpv4

import (
	"github.com/insomniacslk/dhcp/rfc1035label"
)

// OptDomainSearch returns a new domain search option.
//
// The domain search option is described by RFC 3397, Section 2.
func OptDomainSearch(labels *rfc1035label.Labels) Option {
	return Option{Code: OptionDNSDomainSearchList, Value: labels}
}