projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b83180
)
Make sure we do not allocate new edge when talking to old nodes and the same edge...
author
thorkill
<thkr@hannover.ccc.de>
Tue, 7 Jul 2015 19:19:26 +0000
(21:19 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 12 Jul 2015 11:31:07 +0000
(13:31 +0200)
When tinc gets ADD_EDGE from older versions it will allocate
new edge in protocol_edge.c:189 due to missed case in lines 149-171 where
local_address is not defined.
src/protocol_edge.c
patch
|
blob
|
history
diff --git
a/src/protocol_edge.c
b/src/protocol_edge.c
index 0879613ce34be1d9cc38c7715a8b5d88950121aa..1924ee35e3733316654c915b1d25207e18f32134 100644
(file)
--- a/
src/protocol_edge.c
+++ b/
src/protocol_edge.c
@@
-167,6
+167,8
@@
bool add_edge_h(connection_t *c, const char *request) {
if(!tunnelserver)
forward_request(c, request);
+ return true;
+ } else {
return true;
}
} else {