diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-02 20:29:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-02 20:29:29 +0000 |
commit | 09e852123631471de1ff0537ce2602b7d9585efa (patch) | |
tree | a9ada1bdc090660931d0086c14193062ca1d2e03 /src/or/config.c | |
parent | 2e1d31b43bf47c7f863fe04858e7771cf2667f7b (diff) | |
download | tor-09e852123631471de1ff0537ce2602b7d9585efa.tar.gz tor-09e852123631471de1ff0537ce2602b7d9585efa.zip |
Make ContactInfo mandatory for authoritative directories.
svn:r4896
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 19a5f8b6f1..eb60352fa1 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1650,8 +1650,12 @@ options_validate(or_options_t *options) } if (options->AuthoritativeDir) { + if (!options->ContactInfo) { + log(LOG_WARN, "Authoritative directory servers must set ContactInfo"); + result = -1; + } if (!options->RecommendedVersions) { - log(LOG_WARN, "Directory servers must configure RecommendedVersions."); + log(LOG_WARN, "Authoritative directory servers must configure RecommendedVersions."); result = -1; } if (!options->RecommendedClientVersions) |