diff options
author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-01-25 18:52:42 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-26 15:20:22 +0100 |
commit | 23b2790aa06270485f3d951132609afaeb888c28 (patch) | |
tree | 99af7c1771dd597efc03ef05fc70fa82535faa1a | |
parent | 18e47795e598973195887893e7d77baddec53ebb (diff) |
conn: fix interface parameter name in Bind interface docs
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
-rw-r--r-- | conn/conn.go | 2 |
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. // |