]> git.meshlink.io Git - meshlink/blobdiff - examples/chat.c
manynodes: add few backbone nodes and many portable nodes to make tests
[meshlink] / examples / chat.c
index cd0144e01b7630dac6bcf9125177545a230a0732..c6d67fb5c1ba2c111d4c814fdc1971699dc85ccc 100644 (file)
@@ -195,7 +195,7 @@ int main(int argc, char *argv[]) {
 
        meshlink_set_log_cb(NULL, MESHLINK_INFO, log_message);
 
-       meshlink_handle_t *mesh = meshlink_open(confbase, nick, "chat");
+       meshlink_handle_t *mesh = meshlink_open(confbase, nick, "chat", DEV_CLASS_STATIONARY);
        if(!mesh) {
                fprintf(stderr, "Could not open MeshLink: %s\n", meshlink_strerror(meshlink_errno));
                return 1;