summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-13 22:59:54 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-13 22:59:54 +0000
commitb85d0668bb4c8f99434e7d9d1ff513c7b993c4c2 (patch)
treedc769fa04b1c69be15dd92d78f3abc18374baf52 /pkg/sentry/strace
parent04150ecaae2fd147b79e96a2b99c7cd4d5fa376f (diff)
parentdebd213da61cf35d7c91346820e93fc87bfa5896 (diff)
Merge release-20191213.0-113-gdebd213 (automated)
Diffstat (limited to 'pkg/sentry/strace')
-rw-r--r--pkg/sentry/strace/socket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/strace/socket.go b/pkg/sentry/strace/socket.go
index 51f2efb39..b6d7177f4 100644
--- a/pkg/sentry/strace/socket.go
+++ b/pkg/sentry/strace/socket.go
@@ -341,7 +341,7 @@ func sockAddr(t *kernel.Task, addr usermem.Addr, length uint32) string {
switch family {
case linux.AF_INET, linux.AF_INET6, linux.AF_UNIX:
- fa, _, err := netstack.AddressAndFamily(int(family), b, true /* strict */)
+ fa, _, err := netstack.AddressAndFamily(b)
if err != nil {
return fmt.Sprintf("%#x {Family: %s, error extracting address: %v}", addr, familyStr, err)
}