summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-13 23:05:18 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-13 23:05:18 +0000
commitfada85b4327be60de0b63163acf02ba235423064 (patch)
tree9daa0837c02b6ba16074d0c2d79c70bf956c61c9 /pkg/tcpip/transport/udp
parentc6f51a528c82c86ed05f8177f47bfc85ed873776 (diff)
parent443e3cad4a46fbb37d2a228cb501f223c54fc636 (diff)
Merge release-20200928.0-111-g443e3cad4 (automated)
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r--pkg/tcpip/transport/udp/forwarder.go1
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