summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 13:28:53 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 13:28:53 +0100
commit41662ca4011229faf0d999f502837db17a924428 (patch)
treea5294934e93083c7ebe8e9ec04a50a1fcead8024
parent3f0dfe5fbb4f8217fe6e022fdf41a361f3a1cf8c (diff)
downloadecon-41662ca4011229faf0d999f502837db17a924428.tar.gz
econ-41662ca4011229faf0d999f502837db17a924428.tar.bz2
econ-41662ca4011229faf0d999f502837db17a924428.zip
econproxy: Add a comment about two unknown field in reqconnect
-rw-r--r--econproxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/econproxy.c b/econproxy.c
index f6624e2..a5a0c85 100644
--- a/econproxy.c
+++ b/econproxy.c
@@ -161,6 +161,8 @@ ep_reqconnect(struct ep *ep)
ep->epkt.cmd.command.reqconnect.gateAddress[3] = 1;
#endif
+ /* The first two seem to be ignored, 0x00, works as well as 0xff.
+ * 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;