summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-09 00:26:11 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-13 10:24:03 +0100
commitbcde742e78ac3b8e8ea348cfb022c820c11800e2 (patch)
tree0d044ff32ade82bf671aae8a1ff120ddc69598d0 /src/resolve
parentconf-parser: simplify things a bit by using strextend() (diff)
downloadsystemd-bcde742e78ac3b8e8ea348cfb022c820c11800e2.tar.xz
systemd-bcde742e78ac3b8e8ea348cfb022c820c11800e2.zip
conf-parser: turn three bool function params into a flags fields
This makes things more readable and fixes some issues with incorrect flag propagation between the various flavours of config_parse().
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c
index 3cf4261ff0..39dc358a48 100644
--- a/src/resolve/resolved-conf.c
+++ b/src/resolve/resolved-conf.c
@@ -236,7 +236,7 @@ int manager_parse_config_file(Manager *m) {
CONF_PATHS_NULSTR("systemd/resolved.conf.d"),
"Resolve\0",
config_item_perf_lookup, resolved_gperf_lookup,
- false, m);
+ CONFIG_PARSE_WARN, m);
if (r < 0)
return r;