[tor-commits] [tor/master] Add a test for router_get_advertised_or_port_by_af().