]> git.meshlink.io Git - meshlink/commit
Use the canonical address during UDP probes.
authorGuus Sliepen <guus@meshlink.io>
Wed, 30 Dec 2020 13:50:56 +0000 (14:50 +0100)
committerGuus Sliepen <guus@meshlink.io>
Wed, 30 Dec 2020 13:50:56 +0000 (14:50 +0100)
commitaf60e5f5164b28495c4a441f38c86e8f6b184a38
tree85bda0a21e2a35fa450cd1558ba3d58ada8f2f4c
parent5b5e1456905850d03638621328dff994876458c2
Use the canonical address during UDP probes.

It is possible that a node has a canonical address, but due to NAT or other
reasons, the meta-connections with that node use other addresses. If UDP is
only possible to the canonical address, then we need to include that during
the initial UDP probing phase.
src/net_packet.c
src/netutl.c
src/netutl.h