Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
- Loading branch information