]> git.meshlink.io Git - meshlink/commit
Ping nodes immediately when receiving SIGALRM.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Jan 2010 22:19:08 +0000 (23:19 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Jan 2010 22:19:08 +0000 (23:19 +0100)
commit51099658c919794cde72ea1107b9d9b9c3cee926
treefea98539e5ad90d5cc6ef80dd49fc24ae986ffa5
parent2a538ed34332b3392f866d56accd9efecc9467ed
Ping nodes immediately when receiving SIGALRM.

One reason to send the ALRM signal is to let tinc immediately try to connect to
outgoing nodes, for example when PPP or DHCP configuration of the outgoing
interface finished.  Conversely, when the outgoing interface goes down one can
now send this signal to let tinc quickly detect that links are down too.
src/net.c