0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::net::dns::resolve: Pass more information SRV key generator.

This commit is contained in:
Jason Volk 2020-03-05 11:07:39 -08:00
parent 2116567281
commit fddeb548a7
2 changed files with 5 additions and 5 deletions

View file

@ -178,7 +178,7 @@ ircd::net::dns::resolver::make_query(const mutable_buffer &buf,
};
case 33: // SRV
hoststr = make_SRV_key(hostbuf, host(tag.hp), tag.opts);
hoststr = make_SRV_key(hostbuf, tag.hp, tag.opts);
break;
default:

View file

@ -92,7 +92,7 @@ ircd::net::dns::cache::put(const hostport &hp,
const string_view &state_key
{
opts.qtype == 33?
make_SRV_key(state_key_buf, host(hp), opts):
make_SRV_key(state_key_buf, hp, opts):
host(hp)
};
@ -120,7 +120,7 @@ ircd::net::dns::cache::put(const hostport &hp,
const string_view &state_key
{
opts.qtype == 33?
make_SRV_key(state_key_buf, host(hp), opts):
make_SRV_key(state_key_buf, hp, opts):
host(hp)
};
@ -372,7 +372,7 @@ ircd::net::dns::cache::get(const hostport &hp,
const string_view &state_key
{
opts.qtype == 33?
make_SRV_key(state_key_buf, host(hp), opts):
make_SRV_key(state_key_buf, hp, opts):
host(hp)
};
@ -434,7 +434,7 @@ ircd::net::dns::cache::for_each(const hostport &hp,
const string_view &state_key
{
opts.qtype == 33?
make_SRV_key(state_key_buf, host(hp), opts):
make_SRV_key(state_key_buf, hp, opts):
host(hp)
};