summaryrefslogtreecommitdiff
path: root/protocol.c
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-25 23:20:32 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-25 23:20:32 +0100
commit52edeba4b440aa0cc84d458caa40fb40f8488a63 (patch)
treefe5d94ebb6f0e98e4b2e42292fa5eff859c8f9ed /protocol.c
parent25476c74e2fe93163e50f41a0dc15b3088c6f65f (diff)
downloadMAC-Telnet-52edeba4b440aa0cc84d458caa40fb40f8488a63.tar.gz
MAC-Telnet-52edeba4b440aa0cc84d458caa40fb40f8488a63.zip
Add support for dash-seperated mac addresses
Diffstat (limited to 'protocol.c')
-rw-r--r--protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol.c b/protocol.c
index cd6b3c3..acf0b0b 100644
--- a/protocol.c
+++ b/protocol.c
@@ -75,7 +75,7 @@ int add_control_packet(struct mt_packet *packet, enum mt_cptype cptype, void *cp
/* Something is really wrong. Packets should never become over 1500 bytes */
if (packet->size + MT_CPHEADER_LEN + data_len > MT_PACKET_LEN) {
- fprintf(stderr, "addControlPacket: ERROR, too large packet. Exceeds %d bytes\n", MT_PACKET_LEN);
+ fprintf(stderr, "add_control_packet: ERROR, too large packet. Exceeds %d bytes\n", MT_PACKET_LEN);
return -1;
//exit(1);
}