summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp/udp_test.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-12-03 16:30:38 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-03 16:32:13 -0800
commitcf7f27c16793eaa41743e96488dad2ddfd1f5d59 (patch)
tree0cc90510ef025577b9a9e806e3892f8e9c68e23c /pkg/tcpip/transport/udp/udp_test.go
parent035407153989b189a3ce42df43d6f528fa95444f (diff)
net/udp: return a local route address as the bound-to address
If the socket is bound to ANY and connected to a loopback address, getsockname() has to return the loopback address. Without this fix, getsockname() returns ANY. PiperOrigin-RevId: 283647781
Diffstat (limited to 'pkg/tcpip/transport/udp/udp_test.go')
0 files changed, 0 insertions, 0 deletions