summaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2011-02-21 17:20:13 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2011-02-21 17:20:13 +0100
commit28ce685f858511f7fa65c06e091e7d473dc2cc94 (patch)
treea070a95c24e87a4d361f31ae326905a93e7509bc /protocol.h
parent0058ac3010d79bf086ddfa0be9a44ee419bf7058 (diff)
downloadMAC-Telnet-28ce685f858511f7fa65c06e091e7d473dc2cc94.tar.gz
MAC-Telnet-28ce685f858511f7fa65c06e091e7d473dc2cc94.zip
Add endianness checking/conversion.
Diffstat (limited to 'protocol.h')
-rw-r--r--protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol.h b/protocol.h
index 3ca641f..c1cca1f 100644
--- a/protocol.h
+++ b/protocol.h
@@ -79,7 +79,7 @@ struct mt_mndp_hdr {
struct mt_mactelnet_hdr {
unsigned char ver;
enum mt_ptype ptype;
- unsigned int clienttype;
+ unsigned char clienttype[2];
unsigned char srcaddr[6];
unsigned char dstaddr[6];
unsigned short seskey;