protocol: Add a dummy TunnelChannel

The removal of the channel definition will cause the enumeration
to miss this old channel.
Add a dummy channel (empty) to avoid having to update spice-gtk
and spice-server and possibly breaking other software.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2019-02-27 08:57:17 +00:00
parent 86136f9a95
commit db245ae740

View File

@ -1235,6 +1235,9 @@ channel RecordChannel : BaseChannel {
} start_mark;
};
channel TunnelChannel {
};
enum32 vsc_message_type {
Init = 1,
Error,
@ -1357,8 +1360,8 @@ protocol Spice {
CursorChannel cursor;
PlaybackChannel playback;
RecordChannel record;
// there used to be a TunnelChannel
SmartcardChannel smartcard = 8;
TunnelChannel tunnel;
SmartcardChannel smartcard;
UsbredirChannel usbredir;
PortChannel port;
WebDAVChannel webdav;