|
@@ -4358,6 +4358,12 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
|
|
microdescriptors = smartlist_new();
|
|
microdescriptors = smartlist_new();
|
|
|
|
|
|
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
|
|
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
|
|
|
|
+ /* If it has a protover list and contains a protocol name greater than
|
|
|
|
+ * MAX_PROTOCOL_NAME_LENGTH, skip it. */
|
|
|
|
+ if (ri->protocol_list &&
|
|
|
|
+ protover_contains_long_protocol_names(ri->protocol_list)) {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
if (ri->cache_info.published_on >= cutoff) {
|
|
if (ri->cache_info.published_on >= cutoff) {
|
|
routerstatus_t *rs;
|
|
routerstatus_t *rs;
|
|
vote_routerstatus_t *vrs;
|
|
vote_routerstatus_t *vrs;
|