0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd::server: Condition the next query after SRV on ipv6 state.

This commit is contained in:
Jason Volk 2019-03-25 15:19:27 -07:00
parent ee35e71b28
commit 195937cd08

View file

@ -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
{