mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
resolve: make manager_get_private_dns_mode() always return valid setting
This commit is contained in:
parent
b761a10797
commit
8adbd86586
@ -1391,7 +1391,7 @@ PrivateDnsMode manager_get_private_dns_mode(Manager *m) {
|
||||
if (m->private_dns_mode != _PRIVATE_DNS_MODE_INVALID)
|
||||
return m->private_dns_mode;
|
||||
|
||||
return _PRIVATE_DNS_MODE_INVALID;
|
||||
return PRIVATE_DNS_NO;
|
||||
}
|
||||
|
||||
void manager_dnssec_verdict(Manager *m, DnssecVerdict verdict, const DnsResourceKey *key) {
|
||||
|
Loading…
Reference in New Issue
Block a user