]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Use a status bit to track which nodes use SPTPS.
[meshlink] / src / protocol_auth.c
index 790d324d0b054457a9d2e42f848d141dc3cf43fe..88c625544261cd42ec618456c190d812633796e8 100644 (file)
@@ -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) {