conn: remove _ method receiver

Minor style fix.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder 2021-01-19 13:41:07 -08:00 committed by Jason A. Donenfeld
parent b00b2c2951
commit f07177c762

View file

@ -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