platform/dns.c: Intercept router host names

This commit is contained in:
Tau
2019-09-07 13:49:04 -04:00
parent 29d9561a28
commit 0242c5efc8
3 changed files with 21 additions and 0 deletions

View File

@ -63,6 +63,14 @@ void dns_config_load(struct dns_config *cfg, const wchar_t *filename)
_countof(default_),
filename);
GetPrivateProfileStringW(
L"dns",
L"router",
default_,
cfg->router,
_countof(cfg->router),
filename);
GetPrivateProfileStringW(
L"dns",
L"startup",