summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-08 19:34:34 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-08 19:34:34 +0000
commit8db1e363c99938601ca8f75b60709c100d2f0c5b (patch)
treeeff4487f46aa08eebfce27edd110d0745add34e4
parent9479bd02759293857268393396203f106304f566 (diff)
downloadtor-8db1e363c99938601ca8f75b60709c100d2f0c5b.tar.gz
tor-8db1e363c99938601ca8f75b60709c100d2f0c5b.zip
remove some redundant code now that we compress exit policies
after parsing them svn:r6099
-rw-r--r--src/or/router.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c
index e15cc73e2c..335b999529 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1155,9 +1155,6 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
return -1;
written += result;
}
- if (tmpe->msk == 0 && tmpe->prt_min <= 1 && tmpe->prt_max == 65535)
- /* This was a catch-all rule, so future rules are irrelevant. */
- break;
} /* end for */
if (written+256 > maxlen) /* Not enough room for signature. */
return -1;