summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-10-18 23:04:14 +0000
committergVisor bot <gvisor-bot@google.com>2019-10-18 23:04:14 +0000
commita26c9cf0f7ce253ab34f56f1b6fe7bd285bead63 (patch)
tree40f56d9a852d9b2d9d4b711659e4ff58e3a0ad60
parent2345121074f2e79fd4b88e29b2777ccbdbac650a (diff)
parent487d3b2358239254e757f4ce3b0cd31615d80e1b (diff)
Merge release-20190806.1-291-g487d3b2 (automated)
-rw-r--r--pkg/tcpip/transport/udp/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go
index 6e87245b7..91c8487f3 100644
--- a/pkg/tcpip/transport/udp/endpoint.go
+++ b/pkg/tcpip/transport/udp/endpoint.go
@@ -140,7 +140,7 @@ func newEndpoint(s *stack.Stack, netProto tcpip.NetworkProtocolNumber, waiterQue
stack: s,
TransportEndpointInfo: stack.TransportEndpointInfo{
NetProto: netProto,
- TransProto: header.TCPProtocolNumber,
+ TransProto: header.UDPProtocolNumber,
},
waiterQueue: waiterQueue,
// RFC 1075 section 5.4 recommends a TTL of 1 for membership