Browse Source

remove some redundant code now that we compress exit policies
after parsing them


svn:r6099

Roger Dingledine 19 years ago
parent
commit
8db1e363c9
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/or/router.c

+ 0 - 3
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;