diff --git a/lokimq/lokimq.cpp b/lokimq/lokimq.cpp index 4cc9b9e..acd5077 100644 --- a/lokimq/lokimq.cpp +++ b/lokimq/lokimq.cpp @@ -1769,7 +1769,7 @@ ConnectionID LokiMQ::connect_remote(string_view remote, ConnectSuccess on_connec LMQ_TRACE("telling proxy to connect to ", remote, ", id ", id, pubkey.empty() ? "using NULL auth" : ", using CURVE with remote pubkey [" + to_hex(pubkey) + "]"); detail::send_control(get_control_socket(), "CONNECT_REMOTE", bt_serialize({ - {"auth", static_cast>(auth_level)}, + {"auth_level", static_cast>(auth_level)}, {"conn_id", id}, {"connect", reinterpret_cast(new ConnectSuccess{std::move(on_connect)})}, {"failure", reinterpret_cast(new ConnectFailure{std::move(on_failure)})},