summaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index cdc4e28b6d..a5f8a28460 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -1139,7 +1139,7 @@ policy_summarize(smartlist_t *policy)
* that to build the result
*/
if (smartlist_len(accepts) == 0) { /* no exits at all */
- result = NULL;
+ result = tor_strdup("reject 1-65535");
goto cleanup;
}
if (smartlist_len(rejects) == 0) { /* no rejects at all */