From 7e7b3d3df3e60c28dfa0fc29c192daf1b7e87409 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 1 Feb 2017 13:51:31 +1100 Subject: Add unit tests for IPv6 address summaries and IPv4 netblock rejection These tests currently fail due to bug 21357 --- src/or/policies.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or') diff --git a/src/or/policies.h b/src/or/policies.h index 20f58f2beb..850fa863d6 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -22,6 +22,9 @@ #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 +/* All options set: used for unit testing */ +#define EXIT_POLICY_OPTION_ALL ((EXIT_POLICY_OPTION_MAX << 1) - 1) typedef enum firewall_connection_t { FIREWALL_OR_CONNECTION = 0, -- cgit v1.2.3-54-g00ecf