aboutsummaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-12 15:27:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-13 02:01:20 +0200
commit0b77bf78cda24582688325cf3197866b60aed69e (patch)
treec1db8d24e74522db9c12eebe39168dbba3768ae8 /device
parenttun: windows: Adopt new error codes returned by Wintun (diff)
downloadwireguard-go-0b77bf78cda24582688325cf3197866b60aed69e.tar.xz
wireguard-go-0b77bf78cda24582688325cf3197866b60aed69e.zip
conn: linux: RTA_MARK has moved to x/sys
Diffstat (limited to 'device')
-rw-r--r--device/conn_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/conn_linux.go b/device/conn_linux.go
index 6a8520e..06b15f9 100644
--- a/device/conn_linux.go
+++ b/device/conn_linux.go
@@ -719,7 +719,7 @@ func (bind *nativeBind) routineRouteListener(device *Device) {
peer.endpoint.(*NativeEndpoint).src4().src,
unix.RtAttr{
Len: 8,
- Type: 0x10, //unix.RTA_MARK TODO: add this to x/sys/unix
+ Type: unix.RTA_MARK,
},
uint32(bind.lastMark),
}