]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Update the blackbox join test cases.
[meshlink] / src / protocol_auth.c
index 1ece41cea592bf6e62d607104447c8bcc15ec0c1..416066ff0ed0a6eb6654bab6a0e70bc2b709e8e6 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "conf.h"
 #include "connection.h"
+#include "devtools.h"
 #include "ecdsa.h"
 #include "edge.h"
 #include "graph.h"
@@ -232,6 +233,10 @@ static bool process_invitation(meshlink_handle_t *mesh, connection_t *c, const v
                return false;
        }
 
+       if(mesh->inviter_commits_first) {
+               devtool_set_inviter_commits_first(true);
+       }
+
        // Send the node the contents of the invitation file
        sptps_send_record(&c->sptps, 0, config.buf, config.len);