naming: Make IPC version range accessible via the Endpoint interface.

MultiPart: 2/2
Change-Id: I4dcb903663406eccb35bc510199c50e3ccf70193
diff --git a/profiles/internal/ipc/stream/vc/vc_test.go b/profiles/internal/ipc/stream/vc/vc_test.go
index eab33fc..9a9ff00 100644
--- a/profiles/internal/ipc/stream/vc/vc_test.go
+++ b/profiles/internal/ipc/stream/vc/vc_test.go
@@ -586,11 +586,12 @@
 
 type endpoint naming.RoutingID
 
-func (e endpoint) Network() string             { return "test" }
-func (e endpoint) VersionedString(int) string  { return e.String() }
-func (e endpoint) String() string              { return naming.RoutingID(e).String() }
-func (e endpoint) Name() string                { return naming.JoinAddressName(e.String(), "") }
-func (e endpoint) RoutingID() naming.RoutingID { return naming.RoutingID(e) }
-func (e endpoint) Addr() net.Addr              { return nil }
-func (e endpoint) ServesMountTable() bool      { return false }
-func (e endpoint) BlessingNames() []string     { return nil }
+func (e endpoint) Network() string                          { return "test" }
+func (e endpoint) VersionedString(int) string               { return e.String() }
+func (e endpoint) String() string                           { return naming.RoutingID(e).String() }
+func (e endpoint) Name() string                             { return naming.JoinAddressName(e.String(), "") }
+func (e endpoint) RoutingID() naming.RoutingID              { return naming.RoutingID(e) }
+func (e endpoint) Addr() net.Addr                           { return nil }
+func (e endpoint) ServesMountTable() bool                   { return false }
+func (e endpoint) BlessingNames() []string                  { return nil }
+func (e endpoint) IPCVersionRange() version.IPCVersionRange { return version.IPCVersionRange{} }
diff --git a/profiles/internal/naming/endpoint.go b/profiles/internal/naming/endpoint.go
index 9e04c2c..684c1fb 100644
--- a/profiles/internal/naming/endpoint.go
+++ b/profiles/internal/naming/endpoint.go
@@ -267,6 +267,11 @@
 	return ep.Blessings
 }
 
+func (ep *Endpoint) IPCVersionRange() version.IPCVersionRange {
+	//nologcall
+	return version.IPCVersionRange{Min: ep.MinIPCVersion, Max: ep.MaxIPCVersion}
+}
+
 type addr struct {
 	network, address string
 }