summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd-conf.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-05-21 03:22:43 +0200
committerMichael Biebl <biebl@debian.org>2017-05-24 17:45:46 +0200
commit3745770ae4dcf262707882a38f6c5ba2684329a3 (patch)
treef2da1e55e166fcf88db084cb157b48a06dd05561 /src/timesync/timesyncd-conf.h
parentd82c4b9a7be6dc8f340930b5e80968d0e48c4c57 (diff)
downloadsystemd-3745770ae4dcf262707882a38f6c5ba2684329a3.tar.gz
timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly
Parse the config files first and only apply the compiled-in list of fallback servers if no NTP server was configured via FallbackNTP. Closes: #5091
Diffstat (limited to 'src/timesync/timesyncd-conf.h')
-rw-r--r--src/timesync/timesyncd-conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timesync/timesyncd-conf.h b/src/timesync/timesyncd-conf.h
index 0280697e9c..0c4b44e707 100644
--- a/src/timesync/timesyncd-conf.h
+++ b/src/timesync/timesyncd-conf.h
@@ -29,3 +29,4 @@ int manager_parse_server_string(Manager *m, ServerType type, const char *string)
int config_parse_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int manager_parse_config_file(Manager *m);
+int manager_parse_fallback_string(Manager *m, const char *string);