diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-01 08:52:52 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-01 08:52:52 -0700 |
commit | 6ab95e03913e2aa0b6b94336d6323cb95001acb0 (patch) | |
tree | 14e7bfaa7022e3591892525d270d3b29de6fe135 /node | |
parent | 67b3fa9311f6daa4caebbd37e1fb55bb4b3953cb (diff) | |
download | infinitytier-6ab95e03913e2aa0b6b94336d6323cb95001acb0.tar.gz infinitytier-6ab95e03913e2aa0b6b94336d6323cb95001acb0.zip |
Get : out of Path.toString() since this will conflict with : in IPv6 IPs.
Diffstat (limited to 'node')
-rw-r--r-- | node/Path.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Path.hpp b/node/Path.hpp index 8cd0776c..639ddb9b 100644 --- a/node/Path.hpp +++ b/node/Path.hpp @@ -130,7 +130,7 @@ public: case PATH_TYPE_TCP_OUT: t = "tcp_out"; break; case PATH_TYPE_TCP_IN: t = "tcp_in"; break; } - Utils::snprintf(tmp,sizeof(tmp),"%s:%s:%lld;%lld;%lld;%lld;%s", + Utils::snprintf(tmp,sizeof(tmp),"%s;%s;%lld;%lld;%lld;%lld;%s", t, _addr.toString().c_str(), (long long)((_lastSend != 0) ? (now - _lastSend) : -1), |