ircd::net::dns::resolver: Fix case sensitivity of the tag host.

This commit is contained in:
Jason Volk 2023-04-22 00:18:28 -07:00
parent 238cc10489
commit 956aa7682f
1 changed files with 2 additions and 2 deletions

View File

@ -132,11 +132,11 @@ ircd::net::dns::tag::tag(const hostport &hp,
{
this->hp.host =
{
hostbuf, copy(hostbuf, hp.host)
tolower(hostbuf, hp.host)
};
this->hp.service =
{
servicebuf, copy(servicebuf, hp.service)
tolower(servicebuf, hp.service)
};
}