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

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 return (*NativeEndpoint)(addr), err
} }
func (_ *NativeEndpoint) ClearSrc() {} func (*NativeEndpoint) ClearSrc() {}
func (e *NativeEndpoint) DstIP() net.IP { func (e *NativeEndpoint) DstIP() net.IP {
return (*net.UDPAddr)(e).IP return (*net.UDPAddr)(e).IP