Make sure we do not allocate new edge when talking to old nodes and the same edge...
authorthorkill <thkr@hannover.ccc.de>
Tue, 7 Jul 2015 19:19:26 +0000 (21:19 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 12 Jul 2015 11:31:07 +0000 (13:31 +0200)
commit1e7ef381980a5c4c84d699522265290dde5ac728
treed4932019335b2b9ea376b8198af2934ba7322bf7
parent7b831804aafa370a6c8d9e86caee31cda1a3dd72
Make sure we do not allocate new edge when talking to old nodes and the same edge already exists

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