]> git.meshlink.io Git - meshlink/commit
Close connections if the local address is no longer valid.
authorGuus Sliepen <guus@meshlink.io>
Fri, 26 Jul 2019 22:44:06 +0000 (00:44 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 26 Jul 2019 22:44:06 +0000 (00:44 +0200)
commit64720408e45d283eaaa5091957d949fab43087ef
tree79676c64e93b01ba004466248b2b3cf3b3234c16
parent282b99f3c71705bd6e34d4e4f9e8369ea63c87ed
Close connections if the local address is no longer valid.

When we detect that there are changes on the network interfaces, check for
each active connection whether the local side of the connection has an
address that exists on at least one network interface. If not, then
communication via that connection is not possible. Instead of waiting for
a timeout, immediately terminate those connections.
configure.ac
src/have.h
src/net.c