diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-19 13:41:07 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-20 20:03:40 +0100 |
commit | f07177c762bfc4aab7d44a4b32432b8575007bec (patch) | |
tree | 16031ff17af6aeea88ee16641847c33bb3a1cb21 /conn | |
parent | b00b2c29514549b6ec1f04b788191a9eabf4e723 (diff) |
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.go | 2 |
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 |