summaryrefslogtreecommitdiff
path: root/econproxy.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 13:29:49 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 13:29:49 +0100
commit2da558b4899cb1bd7e56f8c6c599c79cc4a9de66 (patch)
tree9e9e3ef3c76a6f9b1cf41c70392754dbbc7d6013 /econproxy.c
parent41662ca4011229faf0d999f502837db17a924428 (diff)
downloadecon-2da558b4899cb1bd7e56f8c6c599c79cc4a9de66.tar.gz
econ-2da558b4899cb1bd7e56f8c6c599c79cc4a9de66.tar.bz2
econ-2da558b4899cb1bd7e56f8c6c599c79cc4a9de66.zip
econproto: unknown_field_3 in reqconnect seems to be a version infoHEADmaster
If it is unequal to 3, the beamer claims the version is not supported.
Diffstat (limited to 'econproxy.c')
-rw-r--r--econproxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/econproxy.c b/econproxy.c
index a5a0c85..bd1c92d 100644
--- a/econproxy.c
+++ b/econproxy.c
@@ -165,7 +165,8 @@ ep_reqconnect(struct ep *ep)
* Windows client uses 0x02 and 0x01, so we do too. */
ep->epkt.cmd.command.reqconnect.unknown_field_1 = 0x02;
ep->epkt.cmd.command.reqconnect.unknown_field_2 = 0x01;
- ep->epkt.cmd.command.reqconnect.unknown_field_3 = 0x03;
+
+ ep->epkt.cmd.command.reqconnect.version = 0x03;
#if 0
memcpy(ep->epkt.cmd.command.reqconnect.EncPassword, "82091965",
ECON_ENCRYPTION_MAXLEN);