aboutsummaryrefslogtreecommitdiff
path: root/src/lib/confmgt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-10 09:51:07 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-09-11 09:42:19 -0400
commite61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75 (patch)
treec5e0029fbb3ab052d6e6a4b46b0e241509a9679c /src/lib/confmgt
parentfe5033d3b0f618493ec8ffd4274352ed42835bdb (diff)
downloadtor-e61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75.tar.gz
tor-e61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75.zip
Extract common list of flags to use for obsolete variables.
Diffstat (limited to 'src/lib/confmgt')
-rw-r--r--src/lib/confmgt/type_defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/confmgt/type_defs.c b/src/lib/confmgt/type_defs.c
index a0431e4f88..324b62e56c 100644
--- a/src/lib/confmgt/type_defs.c
+++ b/src/lib/confmgt/type_defs.c
@@ -739,7 +739,7 @@ static const var_type_def_t type_definitions_table[] = {
.flags=CFLG_NOREPLACE|CFLG_NOSET },
[CONFIG_TYPE_OBSOLETE] = {
.name="Obsolete", .fns=&ignore_fns,
- .flags=CFLG_NOCOPY|CFLG_NOCMP|CFLG_NODUMP|CFLG_NOSET|CFLG_NOLIST
+ .flags=CFLG_GROUP_OBSOLETE,
}
};