]> git.meshlink.io Git - meshlink/commit
Add meshlink_set_invitation_timeout().
authorGuus Sliepen <guus@meshlink.io>
Tue, 26 Jun 2018 14:42:57 +0000 (16:42 +0200)
committerGuus Sliepen <guus@meshlink.io>
Tue, 26 Jun 2018 14:42:57 +0000 (16:42 +0200)
commit34a52e6e69be085ee99755c2890268d2ce11f9b4
treef2163c8d1bfdd42539d0f3e1fc4a4fc5f295d2b0
parentfe4cf1f57aa26458d1c2a9c44a06f9e49fe8d615
Add meshlink_set_invitation_timeout().

This sets a global timeout for invitation files. If a node tries to join
with an invitation whose file is older than the timeout, the invitation is
rejected.
src/meshlink++.h
src/meshlink.c
src/meshlink.h
src/meshlink_internal.h
src/protocol_auth.c
test/invite-join.c