summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;