summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-11-08 17:49:03 +0000
committergVisor bot <gvisor-bot@google.com>2021-11-08 17:49:03 +0000
commit561a12c8513f713502e9eb007cfaa764e9c64106 (patch)
treedd971d1f5e0b4b2f07b6d837d855061d51146a7d /pkg/sentry/socket
parenta42ea3ee63e8ba6b3a39cd1c86a879116f90fe8e (diff)
parent55b70552c16232c19f31f1cf9413b8aebd525cda (diff)
Merge release-20211101.0-24-g55b70552c (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/unix/transport/connectioned.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/socket/unix/transport/connectioned.go b/pkg/sentry/socket/unix/transport/connectioned.go
index 46fbaac1b..690d4de24 100644
--- a/pkg/sentry/socket/unix/transport/connectioned.go
+++ b/pkg/sentry/socket/unix/transport/connectioned.go
@@ -44,7 +44,7 @@ type ConnectingEndpoint interface {
// Type returns the socket type, typically either SockStream or
// SockSeqpacket. The connection attempt must be aborted if this
- // value doesn't match the ConnectableEndpoint's type.
+ // value doesn't match the BoundEndpoint's type.
Type() linux.SockType
// GetLocalAddress returns the bound path.
@@ -69,7 +69,7 @@ type ConnectingEndpoint interface {
}
// connectionedEndpoint is a Unix-domain connected or connectable endpoint and implements
-// ConnectingEndpoint, ConnectableEndpoint and tcpip.Endpoint.
+// ConnectingEndpoint, BoundEndpoint and tcpip.Endpoint.
//
// connectionedEndpoints must be in connected state in order to transfer data.
//