smartlist_add_asprintf(chunks, "v %s\n", version);
}
if (protocols) {
- smartlist_add_asprintf(chunks, "proto %s\n", protocols);
+ smartlist_add_asprintf(chunks, "pr %s\n", protocols);
}
if (format != NS_V2) {
smartlist_add(chunks, tor_strdup("\n"));
if (chosen_protocol_list &&
consensus_method >= MIN_METHOD_FOR_RS_PROTOCOLS) {
- smartlist_add_asprintf(chunks, "proto %s\n", chosen_protocol_list);
+ smartlist_add_asprintf(chunks, "pr %s\n", chosen_protocol_list);
}
/* Now the weight line. */
if (rs_out.has_bandwidth) {
T01("w", K_W, ARGS, NO_OBJ ),
T0N("m", K_M, CONCAT_ARGS, NO_OBJ ),
T0N("id", K_ID, GE(2), NO_OBJ ),
- T01("proto", K_PROTO, CONCAT_ARGS, NO_OBJ ),
+ T01("pr", K_PROTO, CONCAT_ARGS, NO_OBJ ),
T0N("opt", K_OPT, CONCAT_ARGS, OBJ_OK ),
END_OF_TABLE
};