summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/unix/transport
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-11-08 09:41:41 -0800
committergVisor bot <gvisor-bot@google.com>2021-11-08 09:44:38 -0800
commit55b70552c16232c19f31f1cf9413b8aebd525cda (patch)
treed7b6c7a078d827ae77e309b9ec7dc89c2fec2921 /pkg/sentry/socket/unix/transport
parent510bad19b6a71aec63b351e24b08cf6596c871b3 (diff)
Replace references of ConnectableEndpoint with BoundEndpoint.
PiperOrigin-RevId: 408366542
Diffstat (limited to 'pkg/sentry/socket/unix/transport')
-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.
//