mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix typo while initializing protocol for UDP endpoints.
Fixes #763 PiperOrigin-RevId: 275563222
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user