]> git.meshlink.io Git - meshlink/blobdiff - examples/chat.c
manynodes: implement stop command
[meshlink] / examples / chat.c
index 3eaa5c7e3b3fe5ef093b7955d0db011cf15591f0..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", STATIONARY);
+       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;