summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-01 08:52:52 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-01 08:52:52 -0700
commit6ab95e03913e2aa0b6b94336d6323cb95001acb0 (patch)
tree14e7bfaa7022e3591892525d270d3b29de6fe135 /node
parent67b3fa9311f6daa4caebbd37e1fb55bb4b3953cb (diff)
downloadinfinitytier-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.hpp2
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),