]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
conn: linux: RTA_MARK has moved to x/sys
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 12 Apr 2019 13:27:27 +0000 (15:27 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 13 Apr 2019 00:01:20 +0000 (02:01 +0200)
device/conn_linux.go

index 6a8520eccd7700cf360e17d83413ae72717f76cf..06b15f92eb438f38d80762b63af5aeb6a21a76f8 100644 (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),
                                                }