From: Guus Sliepen Date: Sun, 5 Jun 2016 12:47:21 +0000 (+0200) Subject: Preserve IPv6 scope_id in edges. X-Git-Tag: release-1.1pre15~70 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=ab13c14a1480561bb9f59ccfbbd6045e0484ce9c;hp=ab13c14a1480561bb9f59ccfbbd6045e0484ce9c;p=tinc Preserve IPv6 scope_id in edges. When creating an edge after authenticating a peer, we copy the address used for the TCP connection, but change the port to that used for UDP. But the way we did it discarded the scope_id for IPv6 addresses. This prevented UDP communication from working correctly when connecting to a peer on the same LAN using an IPv6 link-local address. Thanks to Rafał Leśniak for pointing out this issue. ---