diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-04 21:46:37 +0200 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-04 21:46:37 +0200 |
commit | 4f2f6ad13a03cc253069cb63224112f7a3a82fbb (patch) | |
tree | 5600206def27eb24559dde2af8d34be448b77312 /mactelnet.c | |
parent | d22fb7e1c12eaeeef90af97386fe3c5c84a0a9eb (diff) | |
download | MAC-Telnet-4f2f6ad13a03cc253069cb63224112f7a3a82fbb.tar.gz MAC-Telnet-4f2f6ad13a03cc253069cb63224112f7a3a82fbb.zip |
* Added support for using broadcast messages, instead of using raw socket to send data.
* Started using getopts to handle command line arguments.
* Cleaned up some debug stuff.
Diffstat (limited to 'mactelnet.c')
-rw-r--r-- | mactelnet.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mactelnet.c b/mactelnet.c index 88d55a2..7f230d2 100644 --- a/mactelnet.c +++ b/mactelnet.c @@ -133,8 +133,6 @@ int parseControlPacket(unsigned char *data, const int data_len, struct mt_mactel /* Check for valid minimum packet length & magic header */ if (data_len >= 9 && memcmp(data, &mt_mactelnet_cpmagic, 4) == 0) { - if (DEBUG) - printf("\t----Control packet:\n\t\tType: %d\n\t\tLength: %d\n", data[4], data[5]<<24|data[6]<<16|data[7]<<8|data[8]); /* Control packet type */ cpkthdr->cptype = data[4]; |