From 69d9bea655940ab1d1cbeebe72a379ff800be7ad Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Thu, 25 Aug 2011 00:36:44 -0300 Subject: [PATCH] Removed debug messages. --- src/ieee802-11.cpp | 3 --- src/sniffer.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/ieee802-11.cpp b/src/ieee802-11.cpp index ad41e9c..2b3ba1a 100644 --- a/src/ieee802-11.cpp +++ b/src/ieee802-11.cpp @@ -22,7 +22,6 @@ #include #include #include -#include //borrame #ifndef WIN32 #include #include @@ -332,8 +331,6 @@ void Tins::IEEE802_11_Beacon::rsn_information(const RSNInformation& info) { std::string Tins::IEEE802_11_Beacon::essid() const { const IEEE802_11::IEEE802_11_Option *option = lookup_option(SSID); - if(option) - cout << "Length of option: " << (int)option->length << "\n"; return (option) ? string((const char*)option->value, option->length) : 0; } diff --git a/src/sniffer.cpp b/src/sniffer.cpp index ba644b5..5571a7a 100644 --- a/src/sniffer.cpp +++ b/src/sniffer.cpp @@ -20,7 +20,6 @@ */ -#include //borrame #include #include "sniffer.h" #include "ethernetII.h" @@ -71,7 +70,6 @@ Tins::PDU *Tins::Sniffer::next_packet(const string &filter) { set_filter(filter); pcap_pkthdr header; PDU *ret = 0; - std::cout << "Wired: " << wired << "\n"; while(!ret) { const u_char *content = pcap_next(handle, &header); try { @@ -81,7 +79,6 @@ Tins::PDU *Tins::Sniffer::next_packet(const string &filter) { ret = new RadioTap((const uint8_t*)content, header.caplen); } catch(...) { - std::cout << "Except!\n"; ret = 0; } }