diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-06-01 11:33:54 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-06-01 15:00:07 +0200 |
commit | 6a08d81f6bc465a2276c61093d96e567d00beb24 (patch) | |
tree | 718fff1c16c27e23b91bad5cb5f16529f4c3811f /internal/ratelimiter/ratelimiter_test.go | |
parent | conn: remove the final alloc per packet receive (diff) | |
download | wireguard-go-6a08d81f6bc465a2276c61093d96e567d00beb24.tar.xz wireguard-go-6a08d81f6bc465a2276c61093d96e567d00beb24.zip |
tun: use ByteSliceToString from golang.org/x/sys/unix
Use unix.ByteSliceToString in (*NativeTun).nameSlice to convert the
TUNGETIFF ioctl result []byte to a string.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions