From: cni Date: Mon, 26 Jan 2009 13:53:54 +0000 (+0000) Subject: Packets/WLANPacket: fixed bug in dump method X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=bdbba4bce64d25fdc42c2531b3b2e60bd8849e4f;p=senf.git Packets/WLANPacket: fixed bug in dump method git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1077 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/80211Bundle/WLANPacket.cc b/Packets/80211Bundle/WLANPacket.cc index 2f1c148..675a09b 100644 --- a/Packets/80211Bundle/WLANPacket.cc +++ b/Packets/80211Bundle/WLANPacket.cc @@ -91,7 +91,7 @@ prefix_ void senf::WLANPacketType::dump(packet p, std::ostream &os) << " Retransmission : " << unsigned( p->retry()) << "\n" << " Duration : " << unsigned( p->duration()) << "\n"; if (p->is_mgtFrame()) { - os << " Management-Frame:\n" + os << " Management-Frame:\n" << " BSSID : " << p->mgtFrame().bssid() << "\n" << " Destination Address : " << p->mgtFrame().destinationAddress() << "\n" << " Source Address : " << p->mgtFrame().sourceAddress() << "\n" @@ -109,8 +109,8 @@ prefix_ void senf::WLANPacketType::dump(packet p, std::ostream &os) } if (p->is_dataFrame()) { os << " Data-Frame:\n" - << " Sequence Number : " << unsigned( p->mgtFrame().sequenceNumber()) << "\n" - << " Fragment Number : " << unsigned( p->mgtFrame().fragmentNumber()) << "\n"; + << " Sequence Number : " << unsigned( p->dataFrame().sequenceNumber()) << "\n" + << " Fragment Number : " << unsigned( p->dataFrame().fragmentNumber()) << "\n"; } };