mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'tor-github/pr/1006'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user