]> git.meshlink.io Git - meshlink/commit
Don't allow meshlink_join() when the storage policy is DISABLED.
authorGuus Sliepen <guus@meshlink.io>
Thu, 4 Feb 2021 21:46:58 +0000 (22:46 +0100)
committerGuus Sliepen <guus@meshlink.io>
Wed, 3 Mar 2021 11:39:50 +0000 (12:39 +0100)
commit0c7eda6fe0c429819013671737890ee2d9a21c1a
tree7594c54682d8e26617824c7a1107d038b5103bbd
parent8a12cc2a26a66f6f50f79a2a12912ff5e991707d
Don't allow meshlink_join() when the storage policy is DISABLED.

It does not make sense to allow this, since we need to write host config
files during a join, otherwise MeshLink's directory would be left in an
invalid state.
src/meshlink.c
src/meshlink.h