From 23b2790aa06270485f3d951132609afaeb888c28 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 25 Jan 2021 18:52:42 -0800 Subject: [PATCH] conn: fix interface parameter name in Bind interface docs Signed-off-by: Brad Fitzpatrick --- conn/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. //