aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf/confmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/conf/confmacros.h')
-rw-r--r--src/lib/conf/confmacros.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
index ff284e681d..aa89965e69 100644
--- a/src/lib/conf/confmacros.h
+++ b/src/lib/conf/confmacros.h
@@ -60,6 +60,8 @@
}
#define CONFIG_VAR_OBSOLETE(varname) \
- { .member = { .name = varname, .type = CONFIG_TYPE_OBSOLETE } }
+ { .member = { .name = varname, .type = CONFIG_TYPE_OBSOLETE }, \
+ .flags = CVFLAG_OBSOLETE \
+ }
#endif /* !defined(TOR_LIB_CONF_CONFMACROS_H) */