Bump minor protocol to indicate ECDH capability for UDP session keys.
[tinc] / src / protocol_auth.c
index 7aaef17..d98e5c4 100644 (file)
@@ -462,6 +462,9 @@ bool ack_h(connection_t *c, char *request) {
                        c->options &= ~OPTION_CLAMP_MSS;
        }
 
+       if(c->protocol_minor > 0)
+               c->node->status.ecdh = true;
+
        /* Activate this connection */
 
        c->allow_request = ALL;