aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerset.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-10-23 11:47:40 -0400
committerNick Mathewson <nickm@torproject.org>2020-10-23 11:47:40 -0400
commitf43fe890dd7987811c1ce2b9d91404b27c965f6a (patch)
treecb48e0511fe9c43adf55fc20adf93627530cf3c3 /src/feature/nodelist/routerset.h
parent2908086694ee3822c8d3116952bec5a415387d75 (diff)
parentbb9707420e87a1efc016aeac1e59edbfc6be3f87 (diff)
downloadtor-f43fe890dd7987811c1ce2b9d91404b27c965f6a.tar.gz
tor-f43fe890dd7987811c1ce2b9d91404b27c965f6a.zip
Merge remote-tracking branch 'tor-gitlab/mr/127'
Diffstat (limited to 'src/feature/nodelist/routerset.h')
-rw-r--r--src/feature/nodelist/routerset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/nodelist/routerset.h b/src/feature/nodelist/routerset.h
index 0e4fedf64e..18a0e31ba7 100644
--- a/src/feature/nodelist/routerset.h
+++ b/src/feature/nodelist/routerset.h
@@ -88,6 +88,10 @@ struct routerset_t {
* routerset_refresh_countries() whenever the geoip country list is
* reloaded. */
bitarray_t *countries;
+ /** If true, subsequent assignments to this routerset should replace
+ * it, not extend it. Set only on the first item in a routerset in an
+ * or_options_t. */
+ unsigned int fragile:1;
};
#endif /* defined(ROUTERSET_PRIVATE) */
#endif /* !defined(TOR_ROUTERSET_H) */