aboutsummaryrefslogtreecommitdiffstats
path: root/conn/mark_unix.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-22 02:01:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-02-23 20:00:57 +0100
commita4f8e83d5d9f477554971e90e9ab85922f506ea9 (patch)
tree5249ac2dbdc8cbb6a7d2d40814b07d7d1f38ad4d /conn/mark_unix.go
parentdevice: disable waitpool tests (diff)
downloadwireguard-go-a4f8e83d5d9f477554971e90e9ab85922f506ea9.tar.xz
wireguard-go-a4f8e83d5d9f477554971e90e9ab85922f506ea9.zip
conn: make binds replacable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/mark_unix.go')
-rw-r--r--conn/mark_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conn/mark_unix.go b/conn/mark_unix.go
index c29f247..18eb581 100644
--- a/conn/mark_unix.go
+++ b/conn/mark_unix.go
@@ -1,4 +1,4 @@
-// +build android openbsd freebsd
+// +build linux openbsd freebsd
/* SPDX-License-Identifier: MIT
*
@@ -26,7 +26,7 @@ func init() {
}
}
-func (bind *nativeBind) SetMark(mark uint32) error {
+func (bind *StdNetBind) SetMark(mark uint32) error {
var operr error
if fwmarkIoctl == 0 {
return nil