Skip to content

Commit 55acc81

Browse files
authored
Merge pull request #1802 from evoskuil/master
Fix endpoint construction from ipv6 authority.
2 parents 48e9de3 + 1511afb commit 55acc81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/endpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ endpoint::endpoint(const asio::endpoint& uri) NOEXCEPT
5555
}
5656

5757
endpoint::endpoint(const asio::address& ip, uint16_t port) NOEXCEPT
58-
: endpoint(config::to_host(ip), port)
58+
: endpoint(config::to_literal(ip), port)
5959
{
6060
}
6161

0 commit comments

Comments
 (0)