summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-03 03:15:23 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-03 03:15:23 +0200
commitfb6540513cdb72f874cdb409e493171c94e59460 (patch)
tree8648597996038739613a732ddda3f4eefc669fd6
parent065bb72362c52603bd615b0a69e24a6f00f03932 (diff)
downloadMAC-Telnet-fb6540513cdb72f874cdb409e493171c94e59460.tar.gz
MAC-Telnet-fb6540513cdb72f874cdb409e493171c94e59460.zip
Documentation changes
-rw-r--r--README.markdown7
-rw-r--r--mactelnet.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index c285f65..e144cf0 100644
--- a/README.markdown
+++ b/README.markdown
@@ -9,7 +9,12 @@ NB: Alpha stage code. Do not expect to run flawlessy.
Installation
------------
-Download source tarball, extract, compile and install:
+Make sure you have installed openssl development files.
+
+For Ubuntu users:
+ sudo apt-get install libssl-dev
+
+Then download source tarball, extract, compile and install:
wget http://github.com/haakonnessjoen/MAC-Telnet/tarball/master
tar zxvf haakonness*.tar.gz
diff --git a/mactelnet.c b/mactelnet.c
index dce51da..2acc1c4 100644
--- a/mactelnet.c
+++ b/mactelnet.c
@@ -69,6 +69,8 @@ int addControlPacket(struct mt_packet *packet, char cptype, void *cpdata, int da
exit(1);
}
+ /* PLAINDATA isn't really a controlpacket, but we handle it here, since
+ parseControlPacket also parses raw data as PLAINDATA */
if (cptype == MT_CPTYPE_PLAINDATA) {
memcpy(data, cpdata, data_len);
packet->size += data_len;