From: Brad Fitzpatrick Date: Tue, 26 Jan 2021 02:52:42 +0000 (-0800) Subject: conn: fix interface parameter name in Bind interface docs X-Git-Tag: 0.0.20210212~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23b2790aa06270485f3d951132609afaeb888c28;p=thirdparty%2Fwireguard-go.git conn: fix interface parameter name in Bind interface docs Signed-off-by: Brad Fitzpatrick --- 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. //