summaryrefslogtreecommitdiff
path: root/zerotierone/node/Identity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zerotierone/node/Identity.cpp')
-rw-r--r--zerotierone/node/Identity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zerotierone/node/Identity.cpp b/zerotierone/node/Identity.cpp
index c47805d..6f89a1e 100644
--- a/zerotierone/node/Identity.cpp
+++ b/zerotierone/node/Identity.cpp
@@ -133,7 +133,7 @@ std::string Identity::toString(bool includePrivate) const
std::string r;
r.append(_address.toString());
- r.append(":0:"); // 0 == ZT_OBJECT_TYPE_IDENTITY
+ r.append(":0:"); // 0 == IDENTITY_TYPE_C25519
r.append(Utils::hex(_publicKey.data,(unsigned int)_publicKey.size()));
if ((_privateKey)&&(includePrivate)) {
r.push_back(':');