Get : out of Path.toString() since this will conflict with : in IPv6 IPs.

This commit is contained in:
Adam Ierymenko 2014-04-01 08:52:52 -07:00
parent 67b3fa9311
commit 6ab95e0391

View File

@ -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),