]> git.meshlink.io Git - meshlink/commit
Always add both CanonicalAddress and any local address to the invitation URL.
authorGuus Sliepen <guus@meshlink.io>
Thu, 30 Aug 2018 17:45:13 +0000 (19:45 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 30 Aug 2018 17:45:13 +0000 (19:45 +0200)
commit12f08abe221173c43dc22c63e8c62069f96348b4
tree86598975aa268a971cc65009588c6554b210bc18
parenta0b633156ddb653ac7f1cc809a1ba6cf86a928e1
Always add both CanonicalAddress and any local address to the invitation URL.

We don't know in advance if the invitee will be on the LAN or outside
the LAN, and because hairpin routing is not working on many home
routers, it is safer to add all possible addresses.

Also, add the port number to each individual address in the URL, instead
of allowing only one port number.
src/meshlink.c