Prevent tinc from forgeting e->local_address
authorthorkill <thkr@hannover.ccc.de>
Tue, 7 Jul 2015 21:14:08 +0000 (23:14 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 12 Jul 2015 11:32:38 +0000 (13:32 +0200)
commit3c54765bcdf8bd6114da0cb31f45404950089e3a
tree639542fca7cbac4a73772bb78e590dbee5a4d87a
parent1e7ef381980a5c4c84d699522265290dde5ac728
Prevent tinc from forgeting e->local_address

If ADD_EDGE came from tinc version 1.0.x local_address.sa.sa_family is set to 0.
If it came from tinc version 1.1.x forwarded for older verion it will be 255 - AF_UNKNOWN.
src/protocol_edge.c