Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH wireguard-go] tun: make operateonfd.go build tags more specific
@ 2021-09-23 10:07 Tobias Klauser
  2021-09-23 15:54 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Klauser @ 2021-09-23 10:07 UTC (permalink / raw)
  To: wireguard

(*NativeTun).operateOnFd is only used on darwin and freebsd. Adjust the
build tags accordingly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 tun/operateonfd.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tun/operateonfd.go b/tun/operateonfd.go
index aab71161f27c..bc804539169f 100644
--- a/tun/operateonfd.go
+++ b/tun/operateonfd.go
@@ -1,5 +1,5 @@
-//go:build !windows
-// +build !windows
+//go:build darwin || freebsd
+// +build darwin freebsd
 
 /* SPDX-License-Identifier: MIT
  *
-- 
2.33.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-24  8:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 10:07 [PATCH wireguard-go] tun: make operateonfd.go build tags more specific Tobias Klauser
2021-09-23 15:54 ` Jason A. Donenfeld
2021-09-24  8:40   ` Tobias Klauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).