summaryrefslogtreecommitdiffhomepage
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
parentb00b2c29514549b6ec1f04b788191a9eabf4e723 (diff)
conn: remove _ method receiver
Minor style fix. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
-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