aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2021-01-25 18:52:42 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-26 15:20:22 +0100
commit23b2790aa06270485f3d951132609afaeb888c28 (patch)
tree99af7c1771dd597efc03ef05fc70fa82535faa1a
parentdevice: allow pipelining UAPI requests (diff)
downloadwireguard-go-23b2790aa06270485f3d951132609afaeb888c28.tar.xz
wireguard-go-23b2790aa06270485f3d951132609afaeb888c28.zip
conn: fix interface parameter name in Bind interface docs
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
-rw-r--r--conn/conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn/conn.go b/conn/conn.go
index ad91d2d..f3b6cfd 100644
--- a/conn/conn.go
+++ b/conn/conn.go
@@ -29,7 +29,7 @@ type Bind interface {
// It reports the number of bytes read, n,
// the packet source address ep,
// and any error.
- ReceiveIPv6(buff []byte) (n int, ep Endpoint, err error)
+ ReceiveIPv6(b []byte) (n int, ep Endpoint, err error)
// ReceiveIPv4 reads an IPv4 UDP packet into b.
//