]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
tun: fix fmt.Errorf format strings
authorJosh Bleecher Snyder <josh@tailscale.com>
Tue, 19 Jan 2021 21:39:48 +0000 (13:39 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 19:03:40 +0000 (20:03 +0100)
commitb00b2c29514549b6ec1f04b788191a9eabf4e723
tree5d238627e87b393de1e6eabf88611be1ddef6a91
parent7c5d1e355e6faa1551296c34aaced4ffe0b16d87
tun: fix fmt.Errorf format strings

Type tcpip.Error is not an error.

I've filed https://github.com/google/gvisor/issues/5314
to fix this upstream.

Until that is fixed, use %v instead of %w,
to keep vet happy.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
tun/tun_net.go