diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-21 17:20:13 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-21 17:20:13 +0100 |
commit | 28ce685f858511f7fa65c06e091e7d473dc2cc94 (patch) | |
tree | a070a95c24e87a4d361f31ae326905a93e7509bc /protocol.h | |
parent | 0058ac3010d79bf086ddfa0be9a44ee419bf7058 (diff) | |
download | MAC-Telnet-28ce685f858511f7fa65c06e091e7d473dc2cc94.tar.gz MAC-Telnet-28ce685f858511f7fa65c06e091e7d473dc2cc94.zip |
Add endianness checking/conversion.
Diffstat (limited to 'protocol.h')
-rw-r--r-- | protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |