|
@@ -3556,12 +3556,12 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
|
|
options->V3AuthoritativeDir))
|
|
options->V3AuthoritativeDir))
|
|
|
REJECT("AuthoritativeDir is set, but none of "
|
|
REJECT("AuthoritativeDir is set, but none of "
|
|
|
"(Bridge/V3)AuthoritativeDir is set.");
|
|
"(Bridge/V3)AuthoritativeDir is set.");
|
|
|
|
|
+#ifdef HAVE_MODULE_DIRAUTH
|
|
|
/* If we have a v3bandwidthsfile and it's broken, complain on startup */
|
|
/* If we have a v3bandwidthsfile and it's broken, complain on startup */
|
|
|
if (options->V3BandwidthsFile && !old_options) {
|
|
if (options->V3BandwidthsFile && !old_options) {
|
|
|
dirserv_read_measured_bandwidths(options->V3BandwidthsFile, NULL, NULL,
|
|
dirserv_read_measured_bandwidths(options->V3BandwidthsFile, NULL, NULL,
|
|
|
NULL);
|
|
NULL);
|
|
|
}
|
|
}
|
|
|
-#ifdef HAVE_MODULE_DIRAUTH
|
|
|
|
|
/* same for guardfraction file */
|
|
/* same for guardfraction file */
|
|
|
if (options->GuardfractionFile && !old_options) {
|
|
if (options->GuardfractionFile && !old_options) {
|
|
|
dirserv_read_guardfraction_file(options->GuardfractionFile, NULL);
|
|
dirserv_read_guardfraction_file(options->GuardfractionFile, NULL);
|