mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
294d3bedf9
Until we depend on Go 1.16 (which isn't released yet), alias our own variable to the private member of the net package. This will allow an easy find replace to make this go away when we eventually switch to 1.16. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
14 lines
262 B
Go
14 lines
262 B
Go
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright (C) 2021 WireGuard LLC. All Rights Reserved.
|
|
*/
|
|
|
|
package conn
|
|
|
|
import _ "unsafe"
|
|
|
|
//TODO: replace this with net.ErrClosed for Go 1.16
|
|
|
|
//go:linkname NetErrClosed internal/poll.ErrNetClosing
|
|
var NetErrClosed error
|