Use a status bit to track which nodes use SPTPS.
This commit is contained in:
parent
6bc8df3e01
commit
7a71d48009
7 changed files with 22 additions and 13 deletions
|
|
@ -506,7 +506,7 @@ bool send_ack(connection_t *c) {
|
|||
|
||||
get_config_int(lookup_config(c->config_tree, "Weight"), &c->estimated_weight);
|
||||
|
||||
return send_request(c, "%d %s %d %x", ACK, myport, c->estimated_weight, (c->options & 0xffffff) | (PROT_MINOR << 24));
|
||||
return send_request(c, "%d %s %d %x", ACK, myport, c->estimated_weight, (c->options & 0xffffff) | (experimental ? (PROT_MINOR << 24) : 0));
|
||||
}
|
||||
|
||||
static void send_everything(connection_t *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue