]> git.meshlink.io Git - meshlink/commit
Don't try to renew SPTPS keys for unreachable nodes. fix/deterministic-sptps-reset
authorGuus Sliepen <guus@meshlink.io>
Mon, 16 Nov 2020 19:57:46 +0000 (20:57 +0100)
committerGuus Sliepen <guus@meshlink.io>
Mon, 16 Nov 2020 19:57:46 +0000 (20:57 +0100)
commitc5ef941dafcbce05801f65f9cf7abe8aa4a3e641
tree3d8baafa3224b343581cc436fde76f2e467c2674
parent5d5563821bd159ecdc4c1249664219536e2dceb3
Don't try to renew SPTPS keys for unreachable nodes.

This caused other functions that incorrectly used status.validkey to check
if they could send data to a node to pass a NULL pointer to send_request(),
causing a crash about an hour after a node went offline.
src/net.c
src/net_packet.c