summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vnc/auth.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-04-03 04:23:25 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-04-03 04:23:25 +0000
commit90a08cf1fda8eaf4afe98f74a7572fb36b7ef369 (patch)
treeeffd76b7118c88004646555256a1d1b6cf62c1ef /sys/src/cmd/vnc/auth.c
parent1a4e03cf93872eb78f498af8afd5d8c7d6143178 (diff)
vncv: some fixes to work with intel amt kvm
Diffstat (limited to 'sys/src/cmd/vnc/auth.c')
-rw-r--r--sys/src/cmd/vnc/auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/vnc/auth.c b/sys/src/cmd/vnc/auth.c
index edde1ba85..cdf937402 100644
--- a/sys/src/cmd/vnc/auth.c
+++ b/sys/src/cmd/vnc/auth.c
@@ -35,6 +35,8 @@ vnchandshake(Vnc *v)
v->vers = 38;
else if(strncmp(msg, "RFB 003.889\n", VerLen) == 0)
v->vers = 38; /* Darwin */
+ else if(strncmp(msg, "RFB 004.000\n", VerLen) == 0)
+ v->vers = 38;
else /* RFC6143: Any other should be treated as 3.3. */
v->vers = 33;