summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index a052aa4329..fcac6fff53 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -808,6 +808,12 @@ options_act(or_options_t *old_options)
!opt_streq(old_options->EntryNodes, options->EntryNodes)))
entry_nodes_should_be_added();
+ /* If the user wants to avoid certain nodes, make sure none of them
+ * are already entryguards */
+ if (options->ExcludeNodes) {
+ // XXX TODO
+ }
+
/* Since our options changed, we might need to regenerate and upload our
* server descriptor.
*/