mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
[client] lgmp: dont validate the device if the transport is not selected
This commit is contained in:
@@ -67,6 +67,10 @@ struct LG_Transport
|
||||
|
||||
static bool lgmp_deviceValidator(struct Option * opt, const char ** error)
|
||||
{
|
||||
const char * transport = option_get_string("app", "transport");
|
||||
if (!transport || strcmp(transport, "lgmp") != 0)
|
||||
return true;
|
||||
|
||||
if (strlen(opt->value.x_string) > 3 &&
|
||||
memcmp(opt->value.x_string, "kvmfr", 5) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user