summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-25 16:53:35 +0200
committerAlon Levy <alevy@redhat.com>2011-01-25 17:17:35 +0200
commita7b66f77ba091479ced631fb31d7b9ad4fd94775 (patch)
tree84a4efba875d7b684f3fcebc0f2ad97127aec556 /server
parent079acd99124ae7f85237df06e3995be6d03d0d55 (diff)
downloadspice-a7b66f77ba091479ced631fb31d7b9ad4fd94775.tar.gz
spice-a7b66f77ba091479ced631fb31d7b9ad4fd94775.tar.xz
spice-a7b66f77ba091479ced631fb31d7b9ad4fd94775.zip
client/server: add missing USE_TUNNEL
disable some code that only makes sense when USE_TUNNEL is defined in client and server channel security level setting.
Diffstat (limited to 'server')
-rw-r--r--server/reds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/reds.c b/server/reds.c
index f9513900..f4263253 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -4029,7 +4029,9 @@ __visible__ int spice_server_set_channel_security(SpiceServer *s, const char *ch
[ SPICE_CHANNEL_CURSOR ] = "cursor",
[ SPICE_CHANNEL_PLAYBACK ] = "playback",
[ SPICE_CHANNEL_RECORD ] = "record",
+#ifdef USE_TUNNEL
[ SPICE_CHANNEL_TUNNEL ] = "tunnel",
+#endif
#ifdef USE_SMARTCARD
[ SPICE_CHANNEL_SMARTCARD] = "smartcard",
#endif