diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-08 19:34:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-08 19:34:34 +0000 |
commit | 8db1e363c99938601ca8f75b60709c100d2f0c5b (patch) | |
tree | eff4487f46aa08eebfce27edd110d0745add34e4 /src/or/router.c | |
parent | 9479bd02759293857268393396203f106304f566 (diff) | |
download | tor-8db1e363c99938601ca8f75b60709c100d2f0c5b.tar tor-8db1e363c99938601ca8f75b60709c100d2f0c5b.tar.gz |
remove some redundant code now that we compress exit policies
after parsing them
svn:r6099
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c index e15cc73e2..335b99952 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; |