diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2016-09-02 16:37:11 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2016-09-06 18:12:08 +0200 |
commit | 579f2bfb27475395b08c63f151fdce73d4bbb5f7 (patch) | |
tree | 1ee181b1ae12021dcf6e808fa2794bf48a9bad38 | |
parent | 36b8ad36152fdf8713082c0b99b4d8ad7e282a95 (diff) |
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>
-rw-r--r-- | spiceconn.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spiceconn.js b/spiceconn.js index 41d2fa3..9707818 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -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) |