diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2020-08-12 00:24:30 +0100 |
---|---|---|
committer | Daniel Pinto <danielpinto52@gmail.com> | 2020-10-21 01:53:50 +0100 |
commit | bb9707420e87a1efc016aeac1e59edbfc6be3f87 (patch) | |
tree | 203fd6f579e575a0a4ae0302ffc35020e657bc29 /src/feature/nodelist/routerset.h | |
parent | 66cd12e044a33870e5ce0732de21a1d7810d2469 (diff) | |
download | tor-bb9707420e87a1efc016aeac1e59edbfc6be3f87.tar.gz tor-bb9707420e87a1efc016aeac1e59edbfc6be3f87.zip |
Allow mutiple lines on configuration for ROUTERSET entries. #28361
Affected entries are: EntryNodes, ExcludeNodes, ExcludeExitNodes,
ExitNodes, MiddleNodes, HSLayer2Nodes and HSLayer3Nodes.
Diffstat (limited to 'src/feature/nodelist/routerset.h')
-rw-r--r-- | src/feature/nodelist/routerset.h | 4 |
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) */ |