diff --git a/ircd/net_dns_resolver.cc b/ircd/net_dns_resolver.cc index d0c0f19bd..3e573eaca 100644 --- a/ircd/net_dns_resolver.cc +++ b/ircd/net_dns_resolver.cc @@ -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: diff --git a/modules/net_dns_cache.cc b/modules/net_dns_cache.cc index 77fbeeaa9..6fa7c6f35 100644 --- a/modules/net_dns_cache.cc +++ b/modules/net_dns_cache.cc @@ -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) };