mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
modules/s_dns_resolver: Change the server list token to a space.
This commit is contained in:
parent
6f6e090015
commit
ffc652706f
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ ircd::net::dns::resolver::servers
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
{ "name", "ircd.net.dns.resolver.servers" },
|
{ "name", "ircd.net.dns.resolver.servers" },
|
||||||
{ "default", "4.2.2.1;4.2.2.2;4.2.2.3;4.2.2.4;4.2.2.5;4.2.2.6" },
|
{ "default", "4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6" },
|
||||||
}, []
|
}, []
|
||||||
{
|
{
|
||||||
if(bool(ircd::net::dns::resolver))
|
if(bool(ircd::net::dns::resolver))
|
||||||
|
@ -860,7 +860,7 @@ ircd::net::dns::resolver::set_servers(const string_view &list)
|
||||||
{
|
{
|
||||||
server.clear();
|
server.clear();
|
||||||
server_next = 0;
|
server_next = 0;
|
||||||
tokens(list, ';', [this]
|
tokens(list, ' ', [this]
|
||||||
(const string_view &hp)
|
(const string_view &hp)
|
||||||
{
|
{
|
||||||
add_server(hp);
|
add_server(hp);
|
||||||
|
|
Loading…
Reference in a new issue