fix ip length

This commit is contained in:
lordwelch 2020-08-10 22:05:40 -07:00
parent 04ee69ce02
commit ce29a6f436

View File

@ -266,6 +266,7 @@ func newSrv(permDir string) (*srv, error) {
if err != nil {
return nil, err
}
serverIP = serverIP.To4()
var domainSearch []byte
domainSearch, err = dhcp4d.CompressNames("lan.", *domain)
if err != nil {