summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/hostinet
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-23 22:25:14 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-23 22:25:14 -0700
commit5e7ae04766f49877e9dfee088abced563d2a9926 (patch)
treeceb1f8b212d14294cadd4d83df615a766ea21471 /pkg/sentry/socket/hostinet
parentbcbcaa67a83c7248c713cce572f0e3a0c6ccc765 (diff)
parent057a2666fa50ac0d0f3b0472a6e1f3d909cc7a12 (diff)
Merge pull request #3142 from tanjianfeng:fix-3141
PiperOrigin-RevId: 322937495
Diffstat (limited to 'pkg/sentry/socket/hostinet')
-rw-r--r--pkg/sentry/socket/hostinet/socket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/hostinet/socket.go b/pkg/sentry/socket/hostinet/socket.go
index ec5506efc..532a1ea5d 100644
--- a/pkg/sentry/socket/hostinet/socket.go
+++ b/pkg/sentry/socket/hostinet/socket.go
@@ -711,6 +711,6 @@ func (p *socketProvider) Pair(t *kernel.Task, stype linux.SockType, protocol int
func init() {
for _, family := range []int{syscall.AF_INET, syscall.AF_INET6} {
socket.RegisterProvider(family, &socketProvider{family})
- socket.RegisterProviderVFS2(family, &socketProviderVFS2{})
+ socket.RegisterProviderVFS2(family, &socketProviderVFS2{family})
}
}