diff --git a/cmd/dhcp4d/dhcp4d.go b/cmd/dhcp4d/dhcp4d.go index d2d64ba..ab8cb4e 100644 --- a/cmd/dhcp4d/dhcp4d.go +++ b/cmd/dhcp4d/dhcp4d.go @@ -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 {