Bump minor protocol to indicate ECDH capability for UDP session keys.

This commit is contained in:
Guus Sliepen 2011-07-05 21:29:31 +02:00
parent 9708bbfa8e
commit 86d83bd9bd
2 changed files with 4 additions and 1 deletions

View file

@ -24,7 +24,7 @@
/* Protocol version. Different major versions are incompatible. */
#define PROT_MAJOR 17
#define PROT_MINOR 0
#define PROT_MINOR 1
/* Silly Windows */

View 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;