aboutsummaryrefslogtreecommitdiffstats
path: root/conn
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-01-19 13:41:07 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-20 20:03:40 +0100
commitf07177c762bfc4aab7d44a4b32432b8575007bec (patch)
tree16031ff17af6aeea88ee16641847c33bb3a1cb21 /conn
parenttun: fix fmt.Errorf format strings (diff)
downloadwireguard-go-f07177c762bfc4aab7d44a4b32432b8575007bec.tar.xz
wireguard-go-f07177c762bfc4aab7d44a4b32432b8575007bec.zip
conn: remove _ method receiver
Minor style fix. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'conn')
-rw-r--r--conn/conn_default.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn/conn_default.go b/conn/conn_default.go
index 8be3c9d..7bd05e9 100644
--- a/conn/conn_default.go
+++ b/conn/conn_default.go
@@ -37,7 +37,7 @@ func CreateEndpoint(s string) (Endpoint, error) {
return (*NativeEndpoint)(addr), err
}
-func (_ *NativeEndpoint) ClearSrc() {}
+func (*NativeEndpoint) ClearSrc() {}
func (e *NativeEndpoint) DstIP() net.IP {
return (*net.UDPAddr)(e).IP