diff --git a/dhcpv4/nclient4/conn_linux.go b/dhcpv4/nclient4/conn_unix.go similarity index 97% rename from dhcpv4/nclient4/conn_linux.go rename to dhcpv4/nclient4/conn_unix.go index 6cdb0717..bece7523 100644 --- a/dhcpv4/nclient4/conn_linux.go +++ b/dhcpv4/nclient4/conn_unix.go @@ -2,8 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.12 +//go:build go1.12 && (darwin || freebsd || linux || netbsd || openbsd) // +build go1.12 +// +build darwin freebsd linux netbsd openbsd package nclient4