From b205061eb13abd68a5335f8008c5121ef230c34e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 30 Apr 2018 09:47:35 -0400 Subject: [PATCH] Describe schedules as TimeInterval, not TimeIntervalCommaList. --- src/or/config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/or/config.c b/src/or/config.c index 9e9c7e58d6..54f3930fc5 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -8105,7 +8105,10 @@ getinfo_helper_config(control_connection_t *conn, case CONFIG_TYPE_ISOTIME: type = "Time"; break; case CONFIG_TYPE_ROUTERSET: type = "RouterList"; break; case CONFIG_TYPE_CSV: type = "CommaList"; break; - case CONFIG_TYPE_CSV_INTERVAL: type = "TimeIntervalCommaList"; break; + /* This type accepts more inputs than TimeInterval, but it ignores + * everything after the first entry, so we may as well pretend + * it's a TimeInterval. */ + case CONFIG_TYPE_CSV_INTERVAL: type = "TimeInterval"; break; case CONFIG_TYPE_LINELIST: type = "LineList"; break; case CONFIG_TYPE_LINELIST_S: type = "Dependent"; break; case CONFIG_TYPE_LINELIST_V: type = "Virtual"; break;