浏览代码

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

Adam Ierymenko 11 年之前
父节点
当前提交
6ab95e0391
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      node/Path.hpp

+ 1 - 1
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),