mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #1631 from majek:fix-gonet-udp.RemoteAddr
PiperOrigin-RevId: 291019296
This commit is contained in:
@@ -622,7 +622,7 @@ func (c *PacketConn) RemoteAddr() net.Addr {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
return fullToTCPAddr(a)
|
||||
return fullToUDPAddr(a)
|
||||
}
|
||||
|
||||
// Read implements net.Conn.Read
|
||||
|
||||
Reference in New Issue
Block a user