mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
wgengine/magicsock: remove named return
Doesn't add anything. Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
a2a2c0ce1c
commit
48e30bb8de
@ -2768,7 +2768,7 @@ type RebindingUDPConn struct {
|
||||
}
|
||||
|
||||
// currentConn returns c's current pconn.
|
||||
func (c *RebindingUDPConn) currentConn() (pconn net.PacketConn) {
|
||||
func (c *RebindingUDPConn) currentConn() net.PacketConn {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
return c.pconn
|
||||
|
Loading…
Reference in New Issue
Block a user