diff options
author | Chris Koch <chrisko@google.com> | 2021-12-21 18:48:10 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2022-01-19 19:08:41 +0100 |
commit | 3c283ff8b7dd3a8ea2dbc37d13a35bba7aab00e5 (patch) | |
tree | e6cfb253a6797a86daeb6a5f14994cbd7b7bd09f /dhcpv4 | |
parent | 5297eed8f4898e7a29898c70d6450d2daebecd17 (diff) |
nclient4: support BSDs
mdlayher/raw supports them, so why don't we support them, too.
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv4')
-rw-r--r-- | dhcpv4/nclient4/conn_unix.go (renamed from dhcpv4/nclient4/conn_linux.go) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dhcpv4/nclient4/conn_linux.go b/dhcpv4/nclient4/conn_unix.go index 6cdb071..bece752 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 |