Packets/80211Bundle: fixed copypaste error in dump method
cni [Fri, 20 Mar 2009 12:15:28 +0000 (12:15 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1163 270642c3-0616-0410-b53a-bc976706d245

Packets/80211Bundle/RadiotapPacket.cc

index 021cfb6..bf4407c 100644 (file)
@@ -40,7 +40,7 @@ prefix_ void senf::RadiotapPacketType::dump(packet p, std::ostream &os)
     if (p->has_tsft())
         os  << "  MAC timestamp       : " << unsigned( p->tsft()) << "\n";
     // TODO: flags
-    if (p->has_tsft())
+    if (p->has_rate())
         os  << "  Rate                : " << unsigned( p->rate()) << "\n";
     // TODO: channelOptions
     if (p->has_fhss())