summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-30 23:07:27 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-30 23:07:27 +0000
commitd7a0deccf87f68c77fdc24eb3dea217b7f318480 (patch)
tree03c644195f29eb6cc695ce30b8dc49314ad8d77d /pkg/tcpip/transport
parentb5ef113e75c0c4b6b9ea31a52fc2e2d63495101e (diff)
parent6f8d64f4229be58814319003a397b971ca9b4e1b (diff)
Merge release-20200921.0-93-g6f8d64f42 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r--pkg/tcpip/transport/tcp/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go
index 7ad894840..ae817091a 100644
--- a/pkg/tcpip/transport/tcp/endpoint.go
+++ b/pkg/tcpip/transport/tcp/endpoint.go
@@ -2099,7 +2099,7 @@ func (e *endpoint) GetSockOpt(opt tcpip.GettableSocketOption) *tcpip.Error {
case *tcpip.OriginalDestinationOption:
e.LockUser()
ipt := e.stack.IPTables()
- addr, port, err := ipt.OriginalDst(e.ID)
+ addr, port, err := ipt.OriginalDst(e.ID, e.NetProto)
e.UnlockUser()
if err != nil {
return err