spiceconn: Set channel id

Allow to work with more channels of one type

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=97575

Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Pavel Grunt 2016-09-02 16:37:11 +02:00
parent 36b8ad3615
commit 579f2bfb27

View File

@ -119,7 +119,8 @@ SpiceConn.prototype =
msg.connection_id = this.connection_id;
msg.channel_type = this.type;
// FIXME - we're not setting a channel_id...
msg.channel_id = this.chan_id;
msg.common_caps.push(
(1 << SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION) |
(1 << SPICE_COMMON_CAP_MINI_HEADER)