diff options
-rw-r--r-- | server/reds.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/reds.c b/server/reds.c index c74b2141..e97cd774 100644 --- a/server/reds.c +++ b/server/reds.c @@ -4242,7 +4242,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, return -1; } if (interface->major_version != SPICE_INTERFACE_KEYBOARD_MAJOR || - interface->minor_version < SPICE_INTERFACE_KEYBOARD_MINOR) { + interface->minor_version > SPICE_INTERFACE_KEYBOARD_MINOR) { red_printf("unsupported keyboard interface"); return -1; } @@ -4256,7 +4256,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, return -1; } if (interface->major_version != SPICE_INTERFACE_MOUSE_MAJOR || - interface->minor_version < SPICE_INTERFACE_MOUSE_MINOR) { + interface->minor_version > SPICE_INTERFACE_MOUSE_MINOR) { red_printf("unsupported mouse interface"); return -1; } @@ -4268,7 +4268,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, red_printf("SPICE_INTERFACE_QXL"); if (interface->major_version != SPICE_INTERFACE_QXL_MAJOR || - interface->minor_version < SPICE_INTERFACE_QXL_MINOR) { + interface->minor_version > SPICE_INTERFACE_QXL_MINOR) { red_printf("unsupported qxl interface"); return -1; } @@ -4285,7 +4285,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, return -1; } if (interface->major_version != SPICE_INTERFACE_TABLET_MAJOR || - interface->minor_version < SPICE_INTERFACE_TABLET_MINOR) { + interface->minor_version > SPICE_INTERFACE_TABLET_MINOR) { red_printf("unsupported tablet interface"); return -1; } @@ -4302,7 +4302,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, } else if (strcmp(interface->type, SPICE_INTERFACE_PLAYBACK) == 0) { red_printf("SPICE_INTERFACE_PLAYBACK"); if (interface->major_version != SPICE_INTERFACE_PLAYBACK_MAJOR || - interface->minor_version < SPICE_INTERFACE_PLAYBACK_MINOR) { + interface->minor_version > SPICE_INTERFACE_PLAYBACK_MINOR) { red_printf("unsupported playback interface"); return -1; } @@ -4311,7 +4311,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, } else if (strcmp(interface->type, SPICE_INTERFACE_RECORD) == 0) { red_printf("SPICE_INTERFACE_RECORD"); if (interface->major_version != SPICE_INTERFACE_RECORD_MAJOR || - interface->minor_version < SPICE_INTERFACE_RECORD_MINOR) { + interface->minor_version > SPICE_INTERFACE_RECORD_MINOR) { red_printf("unsupported record interface"); return -1; } @@ -4319,7 +4319,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, } else if (strcmp(interface->type, SPICE_INTERFACE_CHAR_DEVICE) == 0) { if (interface->major_version != SPICE_INTERFACE_CHAR_DEVICE_MAJOR || - interface->minor_version < SPICE_INTERFACE_CHAR_DEVICE_MINOR) { + interface->minor_version > SPICE_INTERFACE_CHAR_DEVICE_MINOR) { red_printf("unsupported char device interface"); return -1; } @@ -4334,7 +4334,7 @@ __visible__ int spice_server_add_interface(SpiceServer *s, return -1; } if (interface->major_version != SPICE_INTERFACE_NET_WIRE_MAJOR || - interface->minor_version < SPICE_INTERFACE_NET_WIRE_MINOR) { + interface->minor_version > SPICE_INTERFACE_NET_WIRE_MINOR) { red_printf("unsupported net wire interface"); return -1; } |