diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-30 09:47:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-30 09:47:35 -0400 |
commit | b205061eb13abd68a5335f8008c5121ef230c34e (patch) | |
tree | 9a8a4ec2ca61170b60b2e3ad00b155f11f8dfb6e /src/or/config.c | |
parent | 6cb467b462bda8d623c1a061ea2107084ff1cb41 (diff) | |
download | tor-b205061eb13abd68a5335f8008c5121ef230c34e.tar.gz tor-b205061eb13abd68a5335f8008c5121ef230c34e.zip |
Describe schedules as TimeInterval, not TimeIntervalCommaList.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |