summaryrefslogtreecommitdiff
path: root/src/or/policies.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2017-10-10 11:45:35 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-31 13:25:41 -0400
commitb70e11ef6b81503fe746077675aa0c5b7298f19f (patch)
treed0e5c9b0f1809d497b5d9b3f4055100000d913ad /src/or/policies.h
parent4700ba6c3d67056fc271cd2355fc956c182af7ad (diff)
downloadtor-b70e11ef6b81503fe746077675aa0c5b7298f19f.tar.gz
tor-b70e11ef6b81503fe746077675aa0c5b7298f19f.zip
Add code for letting user select Reduced Exit Policy
Diffstat (limited to 'src/or/policies.h')
-rw-r--r--src/or/policies.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/policies.h b/src/or/policies.h
index 52ff4e2f99..cd97ee7f59 100644
--- a/src/or/policies.h
+++ b/src/or/policies.h
@@ -22,7 +22,8 @@
#define EXIT_POLICY_REJECT_PRIVATE (1 << 1)
#define EXIT_POLICY_ADD_DEFAULT (1 << 2)
#define EXIT_POLICY_REJECT_LOCAL_INTERFACES (1 << 3)
-#define EXIT_POLICY_OPTION_MAX EXIT_POLICY_REJECT_LOCAL_INTERFACES
+#define EXIT_POLICY_ADD_REDUCED (1 << 4)
+#define EXIT_POLICY_OPTION_MAX EXIT_POLICY_ADD_REDUCED
/* All options set: used for unit testing */
#define EXIT_POLICY_OPTION_ALL ((EXIT_POLICY_OPTION_MAX << 1) - 1)