conn: fix interface parameter name in Bind interface docs

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-01-25 18:52:42 -08:00 committed by Jason A. Donenfeld
parent 18e47795e5
commit 23b2790aa0

View File

@ -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.
//