]> git.meshlink.io Git - meshlink/commit
Speed up reconnections on network interface changes.
authorGuus Sliepen <guus@meshlink.io>
Fri, 19 Jul 2019 12:50:25 +0000 (14:50 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 19 Jul 2019 12:51:10 +0000 (14:51 +0200)
commit230b5907e242aa48bb8c8d09450fbd3767e9c24a
treee9160272558c2bb09fc247c3c91521684beb831b
parent031ebcf6065bccc6279a6745676b0e4b9f7fda80
Speed up reconnections on network interface changes.

Catta informs us whenever an interface comes online or goes offline. If we
detect that there are no online interfaces, immediately terminate all meta-
connections. Otherwise, reset the ping timers and reconnection timers for
outgoing connections.
src/discovery.c
src/meshlink.c
src/meshlink_internal.h