]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
tun: make operateonfd.go build tags more specific
authorTobias Klauser <tklauser@distanz.ch>
Thu, 23 Sep 2021 10:07:19 +0000 (12:07 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 23 Sep 2021 15:54:01 +0000 (09:54 -0600)
commit217ac1016bc54b47418fb606740498fcfbcfd9e6
treeb6efcb4a7c56c40ba92c7fad6524f003ee25f56b
parenteae5e0f3a3a5b08a843756093dc3bfd0f4068108
tun: make operateonfd.go build tags more specific

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

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
tun/operateonfd.go