]> 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>
Fri, 5 Feb 2021 08:38:05 +0000 (09:38 +0100)
commit6ea63504fd8c71c3586abb4c0747aa1c6a39f148
tree517f019095eb45284df4414412a3dc0932bf4300
parentf131ddb3767f6c572c642b92bdc72a9f8664fd8f
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