From bb9707420e87a1efc016aeac1e59edbfc6be3f87 Mon Sep 17 00:00:00 2001 From: Daniel Pinto Date: Wed, 12 Aug 2020 00:24:30 +0100 Subject: Allow mutiple lines on configuration for ROUTERSET entries. #28361 Affected entries are: EntryNodes, ExcludeNodes, ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and HSLayer3Nodes. --- src/feature/nodelist/routerset.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/feature/nodelist/routerset.h') 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) */ -- cgit v1.2.3-54-g00ecf