Report our IP address in our vote if it turns out that our hostname isn't a fqdn.
svn:r12047
- Treat missing v3 keys or certificates as an error when running as a
v3 directory authority.
+ - If an authority doesn't have a qualified hostname, just put its address
+ in the
+
o Minor bugfixes (v3 directory protocol)
- Delete unverified-consensus when the real consensus is set.
- Consider retrying a consensus networkstatus fetch immediately after one
log_warn(LD_NET, "Couldn't resolve my hostname");
return NULL;
}
+ if (!strchr(hostname, '.')) {
+ tor_free(hostname);
+ hostname = tor_dup_addr(addr);
+ }
if (crypto_pk_get_digest(private_key, signing_key_digest)<0) {
log_err(LD_BUG, "Error computing signing key digest");
return NULL;