Loading src/or/router.c +1 −1 Changes for src/or/router.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router, return -1; written += result; } if (tmpe->prt_min == 1 && tmpe->prt_max == 65535) { if (tmpe->prt_min == 0 && tmpe->prt_max == 65535) { if (written > maxlen-4) return -1; strcat(s+written, ":*\n"); Loading src/or/routerlist.c +1 −1 Changes for src/or/routerlist.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -955,7 +955,7 @@ static int router_add_exit_policy(routerinfo_t *router, } } if (!port || strcmp(port, "*") == 0) { newe->prt_min = 1; newe->prt_min = 0; newe->prt_max = 65535; } else { endptr = NULL; Loading Loading
src/or/router.c +1 −1 Changes for src/or/router.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router, return -1; written += result; } if (tmpe->prt_min == 1 && tmpe->prt_max == 65535) { if (tmpe->prt_min == 0 && tmpe->prt_max == 65535) { if (written > maxlen-4) return -1; strcat(s+written, ":*\n"); Loading
src/or/routerlist.c +1 −1 Changes for src/or/routerlist.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -955,7 +955,7 @@ static int router_add_exit_policy(routerinfo_t *router, } } if (!port || strcmp(port, "*") == 0) { newe->prt_min = 1; newe->prt_min = 0; newe->prt_max = 65535; } else { endptr = NULL; Loading