Commit 8ab1fb45 authored by Jakob Otto's avatar Jakob Otto

Fix to_string

parent ae386d42
...@@ -41,7 +41,7 @@ std::string to_string(const ipv6_endpoint& x) { ...@@ -41,7 +41,7 @@ std::string to_string(const ipv6_endpoint& x) {
std::string result; std::string result;
auto addr = x.address(); auto addr = x.address();
if (addr.embeds_v4()) { if (addr.embeds_v4()) {
result += to_string(x); result += to_string(addr);
result += ":"; result += ":";
result += std::to_string(x.port()); result += std::to_string(x.port());
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment