summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/drdynvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/chansrv/drdynvc.c')
-rw-r--r--sesman/chansrv/drdynvc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sesman/chansrv/drdynvc.c b/sesman/chansrv/drdynvc.c
index eaad17cc..70b08d97 100644
--- a/sesman/chansrv/drdynvc.c
+++ b/sesman/chansrv/drdynvc.c
@@ -99,13 +99,15 @@ drdynvc_process_capability_response(struct stream *s, unsigned char cmd)
/* read client's version */
in_uint16_le(s, cap_version);
- if (cap_version != 2)
+ if ((cap_version != 2) && (cap_version != 3))
{
- LOG(0, ("drdynvc_process_capability_response: incompatible DVC version %d detected", cap_version));
+ LOG(0, ("drdynvc_process_capability_response: incompatible DVC "
+ "version %d detected", cap_version));
return -1;
}
- LOG(0, ("drdynvc_process_capability_response: DVC version 2 selected"));
+ LOG(0, ("drdynvc_process_capability_response: DVC version %d selected",
+ cap_version));
g_drdynvc_inited = 1;
return 0;