X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80211Bundle%2FWLANBeaconPacket.cc;h=d18abf1e016677d5006b4ce7d87b94aa6e89f6ed;hb=5cb66935d4b2973ea0fe7487b862b9ddc31648f4;hp=ad49dbc1b75e77d79d021957eedb35dffa1c7db1;hpb=9ffdaae4804503c4f36a53747c852a87ee626b9e;p=senf.git diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.cc b/senf/Packets/80211Bundle/WLANBeaconPacket.cc index ad49dbc..d18abf1 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.cc +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.cc @@ -23,18 +23,17 @@ // Definition of 802.11 WLAN Beacon Packet non-inline non-template functions -// Custom includes #include "WLANBeaconPacket.hh" -#include +// Custom includes #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::WLANBeaconPacketType::dump(packet p, std::ostream &os) { - boost::io::ios_all_saver ias(os); + boost::io::ios_all_saver ias(os); os << "WLAN beacon frame:\n" << senf::fieldName("timestamp") << unsigned( p->timestamp()) << "\n" << senf::fieldName("beaconInterval") << unsigned( p->beaconInterval()) << "\n"; @@ -43,11 +42,11 @@ prefix_ void senf::WLANBeaconPacketType::dump(packet p, std::ostream &os) os << " Optional Information Elements:\n"; typedef parser::ieList_t::container ieListContainer_t; ieListContainer_t ieListContainer (p->ieList()); - for (ieListContainer_t::iterator i = ieListContainer.begin(); i != ieListContainer.end(); ++i) - (*i).dump( os); + for (ieListContainer_t::const_iterator i = ieListContainer.begin(); i != ieListContainer.end(); ++i) + i->dump( os); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_