diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-13 16:01:58 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-13 16:01:58 -0700 |
commit | 443e3cad4a46fbb37d2a228cb501f223c54fc636 (patch) | |
tree | 09754a9b0e7c70f3e32d9f384505004980a566a9 /pkg | |
parent | dbe122c92fd6f18536dd555f761d52699edbfcef (diff) | |
parent | d4413c31bd121bee66e42648360b1fc1ec7c04e1 (diff) |
Merge pull request #4486 from patr0nus:master_udp_ep_fix
PiperOrigin-RevId: 336974095
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/tcpip/transport/udp/forwarder.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/udp/forwarder.go b/pkg/tcpip/transport/udp/forwarder.go index c67e0ba95..3ae6cc221 100644 --- a/pkg/tcpip/transport/udp/forwarder.go +++ b/pkg/tcpip/transport/udp/forwarder.go @@ -81,6 +81,7 @@ func (r *ForwarderRequest) CreateEndpoint(queue *waiter.Queue) (tcpip.Endpoint, ep.ID = r.id ep.route = r.route.Clone() ep.dstPort = r.id.RemotePort + ep.effectiveNetProtos = []tcpip.NetworkProtocolNumber{r.route.NetProto} ep.RegisterNICID = r.route.NICID() ep.boundPortFlags = ep.portFlags |