|
@@ -99,7 +99,7 @@ static config_abbrev_t option_abbrevs_[] = {
|
|
|
{ "BandwidthRateBytes", "BandwidthRate", 0, 0},
|
|
|
{ "BandwidthBurstBytes", "BandwidthBurst", 0, 0},
|
|
|
{ "DirFetchPostPeriod", "StatusFetchPeriod", 0, 0},
|
|
|
- { "DirServer", "DirAuthority", 0, 0},
|
|
|
+ { "DirServer", "DirAuthority", 0, 0},
|
|
|
{ "MaxConn", "ConnLimit", 0, 1},
|
|
|
{ "MaxMemInCellQueues", "MaxMemInQueues", 0, 0},
|
|
|
{ "ORBindAddress", "ORListenAddress", 0, 0},
|
|
@@ -2004,11 +2004,6 @@ static const struct {
|
|
|
{ "--list-fingerprint", TAKES_NO_ARGUMENT },
|
|
|
{ "--keygen", TAKES_NO_ARGUMENT },
|
|
|
{ "--newpass", TAKES_NO_ARGUMENT },
|
|
|
-#if 0
|
|
|
-
|
|
|
- * minimal code modification. */
|
|
|
- { "--master-key", ARGUMENT_NECESSARY },
|
|
|
-#endif
|
|
|
{ "--no-passphrase", TAKES_NO_ARGUMENT },
|
|
|
{ "--passphrase-fd", ARGUMENT_NECESSARY },
|
|
|
{ "--verify-config", TAKES_NO_ARGUMENT },
|
|
@@ -2489,7 +2484,6 @@ is_local_addr, (const tor_addr_t *addr))
|
|
|
if (get_options()->EnforceDistinctSubnets == 0)
|
|
|
return 0;
|
|
|
if (tor_addr_family(addr) == AF_INET) {
|
|
|
-
|
|
|
uint32_t ip = tor_addr_to_ipv4h(addr);
|
|
|
|
|
|
|
|
@@ -5031,7 +5025,7 @@ config_register_addressmaps(const or_options_t *options)
|
|
|
|
|
|
|
|
|
* "to", and do not steal a reference to <b>to</b>. */
|
|
|
-
|
|
|
+
|
|
|
int
|
|
|
addressmap_register_auto(const char *from, const char *to,
|
|
|
time_t expires,
|
|
@@ -7572,7 +7566,7 @@ static void
|
|
|
config_maybe_load_geoip_files_(const or_options_t *options,
|
|
|
const or_options_t *old_options)
|
|
|
{
|
|
|
-
|
|
|
+
|
|
|
|
|
|
if (options->GeoIPFile &&
|
|
|
((!old_options || !opt_streq(old_options->GeoIPFile,
|