summaryrefslogtreecommitdiff
path: root/mactelnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mactelnet.c')
-rw-r--r--mactelnet.c2
1 files changed, 2 insertions, 0 deletions
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;