From 6ab95e03913e2aa0b6b94336d6323cb95001acb0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 1 Apr 2014 08:52:52 -0700 Subject: Get : out of Path.toString() since this will conflict with : in IPv6 IPs. --- node/Path.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node') 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), -- cgit v1.2.3