Merge branch 'tor-github/pr/1006'

This commit is contained in:
George Kadianakis
2019-05-14 15:15:09 +03:00
4 changed files with 12 additions and 4 deletions
+4 -2
View File
@@ -53,7 +53,8 @@ static const struct {
{ PRT_DESC, "Desc" },
{ PRT_MICRODESC, "Microdesc"},
{ PRT_PADDING, "Padding"},
{ PRT_CONS, "Cons" }
{ PRT_CONS, "Cons" },
{ PRT_FLOWCTRL, "FlowCtrl"},
};
#define N_PROTOCOL_NAMES ARRAY_LENGTH(PROTOCOL_NAMES)
@@ -401,7 +402,8 @@ protover_get_supported_protocols(void)
#endif
"Microdesc=1-2 "
"Relay=1-2 "
"Padding=1";
"Padding=1 "
"FlowCtrl=1";
}
/** The protocols from protover_get_supported_protocols(), as parsed into a
+1
View File
@@ -44,6 +44,7 @@ typedef enum protocol_type_t {
PRT_MICRODESC = 8,
PRT_CONS = 9,
PRT_PADDING = 10,
PRT_FLOWCTRL = 11,
} protocol_type_t;
bool protover_contains_long_protocol_names(const char *s);