mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +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.
|
// currentConn returns c's current pconn.
|
||||||
func (c *RebindingUDPConn) currentConn() (pconn net.PacketConn) {
|
func (c *RebindingUDPConn) currentConn() net.PacketConn {
|
||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
defer c.mu.Unlock()
|
defer c.mu.Unlock()
|
||||||
return c.pconn
|
return c.pconn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user