Ticket #2097: fix_along with_2849a95691c0.diff

File fix_along with_2849a95691c0.diff, 501 bytes (added by boboper's secretary, 9 years ago)
  • dirserv.c

    old new  
    11861186    return 0;
    11871187  if (server_mode(options) && router_pick_published_address(options, &addr)<0)
    11881188    return 1; /* we don't know our IP address; ask an authority. */
    1189   refuseunknown = router_my_exit_policy_is_reject_star() &&
     1189  refuseunknown = ! router_my_exit_policy_is_reject_star() &&
    11901190    should_refuse_unknown_exits(options);
    11911191  if (options->DirPort == 0 && !refuseunknown)
    11921192    return 0;