projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b761a10
)
resolve: make manager_get_private_dns_mode() always return valid setting
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 13 Jun 2018 01:56:02 +0000
(10:56 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 13 Jun 2018 02:00:28 +0000
(11:00 +0900)
src/resolve/resolved-manager.c
patch
|
blob
|
history
diff --git
a/src/resolve/resolved-manager.c
b/src/resolve/resolved-manager.c
index
7532b39
..
f8d372f
100644
(file)
--- a/
src/resolve/resolved-manager.c
+++ b/
src/resolve/resolved-manager.c
@@
-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) {