]> git.meshlink.io Git - meshlink/commit
Really add both local and external address to the invitation URL.
authorGuus Sliepen <guus@meshlink.io>
Tue, 9 Oct 2018 21:27:05 +0000 (23:27 +0200)
committerGuus Sliepen <guus@meshlink.io>
Tue, 9 Oct 2018 21:33:59 +0000 (23:33 +0200)
commit1a7277c64d74ae5ae18c48ebe09a522ffe7c696b
tree76d423c7fe7533d0ee0ee4ae5f7e7aa18916c235
parente99687f6b8c784e9a1805d1435e91a08b4ea6408
Really add both local and external address to the invitation URL.

Also make sure we add both IPv4 and IPv6 if possible, use numeric addresses
unless hostnames resolve back to the same numeric address.

Add meshlink_invite_ex() that takes a flag that makes URL generation more
configurable.
src/meshlink++.h
src/meshlink.c
src/meshlink.h