]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
Removed IFF_NO_PI from TUN linux
authorMathias Hall-Andersen <mathias@hall-andersen.dk>
Mon, 4 Dec 2017 20:39:06 +0000 (21:39 +0100)
committerMathias Hall-Andersen <mathias@hall-andersen.dk>
Mon, 4 Dec 2017 20:39:06 +0000 (21:39 +0100)
commit996c7c4d8aa11a73718e49b520d16bbf0630a3df
tree458d8349b53eb9b6a9f9d0fdd364a43ac10b96c5
parent9fef0ca2fb26bfc15a5b25fdc4a03768fd6207b8
Removed IFF_NO_PI from TUN linux

This change was needed for the Linux TUN status hack
to work properly (not increment the error counter).

This commit also updates the TUN interface to allow for
the construction / removal of the TUN info headers in-place.
src/receive.go
src/send.go
src/tun.go
src/tun_linux.go