Bogus comment in router_rebuild_descriptor
router_rebuild_descriptor in src/or/router.c:
ri->purpose = options->BridgeRelay ? ROUTER_PURPOSE_BRIDGE : ROUTER_PURPOSE_GENERAL; ri->cache_info.send_unencrypted = 1; /* Let bridges serve their own descriptors unencrypted, so they can * pass reachability testing. (If they want to be harder to notice, * they can always leave the DirPort off). */ if (ei && !options->BridgeRelay) ei->cache_info.send_unencrypted = 1;
This comment doesn't quite match the behaviour of the code. Also, a bridge's DirPort option is now forced off.