]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
conn: fix interface parameter name in Bind interface docs
authorBrad Fitzpatrick <bradfitz@tailscale.com>
Tue, 26 Jan 2021 02:52:42 +0000 (18:52 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 26 Jan 2021 14:20:22 +0000 (15:20 +0100)
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
conn/conn.go

index ad91d2d6bb9637dacd24e05a037c228a06345f77..f3b6cfdd6dce386882448581abeedc88991abd57 100644 (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.
        //