From 52edeba4b440aa0cc84d458caa40fb40f8488a63 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Sat, 25 Dec 2010 23:20:32 +0100 Subject: Add support for dash-seperated mac addresses --- protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocol.c') 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); } -- cgit v1.2.3