remove some redundant code now that we compress exit policies

after parsing them


svn:r6099
This commit is contained in:
Roger Dingledine 2006-03-08 19:34:34 +00:00
parent 9479bd0275
commit 8db1e363c9

View File

@ -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;