mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::server: Fix explicit port overriding service query (regression f0f25ff236
).
This commit is contained in:
parent
da0464e101
commit
5f1b46aa8b
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue