mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-27 22:29:31 +08:00
Using -x now sets the clients to use MQTT v5.0.
This commit is contained in:
@@ -1294,6 +1294,7 @@ int client_config_line_proc(struct mosq_config *cfg, int pub_or_sub, int argc, c
|
||||
cfg->session_expiry_interval = UINT32_MAX;
|
||||
}
|
||||
}
|
||||
cfg->protocol_version = MQTT_PROTOCOL_V5;
|
||||
}
|
||||
i++;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user