X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=88c625544261cd42ec618456c190d812633796e8;hb=bb6b97ce3493d49b79f1bd57fdac420c312ef8d6;hp=790d324d0b054457a9d2e42f848d141dc3cf43fe;hpb=7303b512b0e4f0d9cbc3236e846b2618f527b830;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 790d324d..88c62554 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -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) {