naming: Change network name to "v23"
Note this may break the wire protocol.
Change-Id: I2fa7e9714210980c4c698e91c3f8f533407858fd
diff --git a/profiles/internal/naming/endpoint.go b/profiles/internal/naming/endpoint.go
index f1cbb66..cf3477d 100644
--- a/profiles/internal/naming/endpoint.go
+++ b/profiles/internal/naming/endpoint.go
@@ -25,7 +25,7 @@
// Network is the string returned by naming.Endpoint.Network implementations
// defined in this package.
-const Network = "veyron"
+const Network = "v23"
// Endpoint is a naming.Endpoint implementation used to convey RPC information.
type Endpoint struct {
diff --git a/profiles/internal/rpc/stream/proxy/proxy_test.go b/profiles/internal/rpc/stream/proxy/proxy_test.go
index 2189bf4..04ed3bf 100644
--- a/profiles/internal/rpc/stream/proxy/proxy_test.go
+++ b/profiles/internal/rpc/stream/proxy/proxy_test.go
@@ -12,6 +12,7 @@
"v.io/x/ref/profiles/internal/rpc/stream"
_ "v.io/x/ref/profiles"
+ inaming "v.io/x/ref/profiles/internal/naming"
"v.io/x/ref/profiles/internal/rpc/stream/manager"
"v.io/x/ref/profiles/internal/rpc/stream/proxy"
tsecurity "v.io/x/ref/test/security"
@@ -202,7 +203,7 @@
port := addr[strings.LastIndex(addr, ":"):]
principal := tsecurity.NewPrincipal("test")
blessings := principal.BlessingStore().Default()
- ln, _, err := server.Listen("veyron", "127.0.0.1"+port, principal, blessings)
+ ln, _, err := server.Listen(inaming.Network, "127.0.0.1"+port, principal, blessings)
if err != nil {
t.Fatal(err)
}