projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD make doesn't like $<.
[tinc]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
ccb7976
..
f6192d7
100644
(file)
--- 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);
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
);
+ return send_request(c, "%d %s %d %x", ACK, myport, c->estimated_weight,
(c->options & 0xffffff) | (PROT_MINOR << 24)
);
}
static void send_everything(connection_t *c) {
}
static void send_everything(connection_t *c) {
@@
-626,9
+626,6
@@
bool ack_h(connection_t *c, const char *request) {
c->options &= ~OPTION_CLAMP_MSS;
}
c->options &= ~OPTION_CLAMP_MSS;
}
- if(c->protocol_minor > 0)
- c->node->status.ecdh = true;
-
/* Activate this connection */
c->allow_request = ALL;
/* Activate this connection */
c->allow_request = ALL;