From 2da558b4899cb1bd7e56f8c6c599c79cc4a9de66 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 13 Mar 2013 13:29:49 +0100 Subject: econproto: unknown_field_3 in reqconnect seems to be a version info If it is unequal to 3, the beamer claims the version is not supported. --- econproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'econproxy.c') 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); -- cgit