1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00

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, // It reports the number of bytes read, n,
// the packet source address ep, // the packet source address ep,
// and any error. // 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. // ReceiveIPv4 reads an IPv4 UDP packet into b.
// //