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:
parent
b00b2c2951
commit
f07177c762
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user