]> git.meshlink.io Git - meshlink/commit
Immediately write host config file when a new key is received.
authorGuus Sliepen <guus@meshlink.io>
Fri, 5 Feb 2021 22:27:27 +0000 (23:27 +0100)
committerGuus Sliepen <guus@meshlink.io>
Fri, 5 Feb 2021 22:30:08 +0000 (23:30 +0100)
commitf7804687ddf6c715d2ce945cd5365540ab5ad860
treed68baad9e77db7078361ab5297e13dad3d92d60c
parent68697a5454af2457f1d512d91151d5399ff7c557
Immediately write host config file when a new key is received.

When we receive a new public key, we should immediately call
node_write_config() to ensure it gets saved if the storage policy is
KEYS_ONLY.
src/protocol_key.c