summaryrefslogtreecommitdiff
path: root/node/Identity.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-31 17:24:59 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-31 17:24:59 -0400
commitf260c2839c73afa9898547398e1911c585904132 (patch)
tree0e4b1f9880bc9c42ea0a4bfef1007a41e8050f86 /node/Identity.cpp
parent2ba97fb46b1b405161a3d391842566b057800f4c (diff)
downloadinfinitytier-f260c2839c73afa9898547398e1911c585904132.tar.gz
infinitytier-f260c2839c73afa9898547398e1911c585904132.zip
Local service plugin stuff... work in progress.
Diffstat (limited to 'node/Identity.cpp')
-rw-r--r--node/Identity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Identity.cpp b/node/Identity.cpp
index fdfdcd99..e9cbef3d 100644
--- a/node/Identity.cpp
+++ b/node/Identity.cpp
@@ -123,7 +123,7 @@ bool Identity::fromString(const char *str)
std::string b(Utils::unhex(fields[0]));
if (b.length() != ZT_ADDRESS_LENGTH)
return false;
- _address = b.data();
+ _address.setTo(b.data(),ZT_ADDRESS_LENGTH);
b = Utils::base64Decode(fields[2]);
if ((!b.length())||(b.length() > ZT_EC_MAX_BYTES))