1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00

conn: linux: RTA_MARK has moved to x/sys

This commit is contained in:
Jason A. Donenfeld 2019-04-12 15:27:27 +02:00
parent ef5f3ad80a
commit 0b77bf78cd

View File

@ -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),
}