0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::server: Fix explicit port overriding service query (regression f0f25ff236).

This commit is contained in:
Jason Volk 2020-11-11 14:31:09 -08:00
parent da0464e101
commit 5f1b46aa8b

View file

@ -1360,7 +1360,7 @@ ircd::server::peer::resolve()
hostport.host = host(canon);
hostport.service = service(canon);
hostport.port = port(hostport);
hostport.port = port(canon)?: 0;
net::dns::opts opts;
opts.qtype =