mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::server: Condition the next query after SRV on ipv6 state.
This commit is contained in:
parent
ee35e71b28
commit
195937cd08
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ try
|
|||
|
||||
// Setup the address record query off this SRV response.
|
||||
net::dns::opts opts;
|
||||
opts.qtype = 28;
|
||||
opts.qtype = bool(peer::enable_ipv6) && bool(net::enable_ipv6)? 28: 1;
|
||||
|
||||
log::debug
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue