mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
allow StrictEntryNode and StrictExitNode to be singular
svn:r2922
This commit is contained in:
parent
73da4bad46
commit
a4b1eb5630
@ -58,6 +58,8 @@ static config_abbrev_t config_abbrevs[] = {
|
||||
PLURAL(HiddenServiceExcludeNode),
|
||||
PLURAL(RendNode),
|
||||
PLURAL(RendExcludeNode),
|
||||
PLURAL(StrictEntryNode),
|
||||
PLURAL(StrictExitNode),
|
||||
{ "l", "Log", 1},
|
||||
{ "BandwidthRateBytes", "BandwidthRate", 0},
|
||||
{ "BandwidthBurstBytes", "BandwidthBurst", 0},
|
||||
|
@ -308,7 +308,7 @@ void connection_ap_expire_beginning(void) {
|
||||
} /* end for */
|
||||
}
|
||||
|
||||
/** Tell any AP streamss that are waiting for a new circuit that one is
|
||||
/** Tell any AP streams that are waiting for a new circuit that one is
|
||||
* available.
|
||||
*/
|
||||
void connection_ap_attach_pending(void)
|
||||
|
@ -1098,7 +1098,7 @@ static void do_list_fingerprint(void)
|
||||
char buf[FINGERPRINT_LEN+1];
|
||||
crypto_pk_env_t *k;
|
||||
const char *nickname = get_options()->Nickname;
|
||||
if(!server_mode(get_options())) {
|
||||
if (!server_mode(get_options())) {
|
||||
printf("Clients don't have long-term identity keys. Exiting.\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user