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; } }