projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put minor protocol version in connection options so other nodes can see it.
[tinc]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
ccb7976
..
3fd80c4
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) {