Browse Source

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

Adam Ierymenko 11 years ago
parent
commit
6ab95e0391
1 changed files with 1 additions and 1 deletions
  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_OUT: t = "tcp_out"; break;
 			case PATH_TYPE_TCP_IN: t = "tcp_in"; 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,
 			t,
 			_addr.toString().c_str(),
 			_addr.toString().c_str(),
 			(long long)((_lastSend != 0) ? (now - _lastSend) : -1),
 			(long long)((_lastSend != 0) ? (now - _lastSend) : -1),