]> git.meshlink.io Git - meshlink/commit - src/protocol_auth.c
Various fixes for the encrypted storage support.
authorGuus Sliepen <guus@meshlink.io>
Wed, 13 Mar 2019 22:13:06 +0000 (23:13 +0100)
committerGuus Sliepen <guus@meshlink.io>
Thu, 13 Jun 2019 21:47:37 +0000 (23:47 +0200)
commit53522b1c11222273c7b41f72b374e759d13b2165
tree3f04a1b0457043a3e4b673bc0095a5ab77ee0fac
parent1622803438b8c4bfff50bedfae6cd809e27fa075
Various fixes for the encrypted storage support.

- create_initial_config_files() and node_write_config() are now the only
  functions that generate the content of new config files from scratch.
- All public API functions that change config files now immediately
  write them out.
- Config files of nodes that join using an invitation file are immediately
  written out.
- Ensure nodes marked dirty have their config files written out in
  periodic_handler(), and on meshlink_stop().
- Fix some memory leaks.
- Write out updated config files, and recreate mesh->self in meshlink_set_port().
doc/Configuration.md
src/conf.c
src/meshlink.c
src/net.c
src/net_setup.c
src/netutl.c
src/node.c
src/protocol_auth.c
src/submesh.c