Revert commit [c259eaefdd7f]. Make compiler happy.

This commit is contained in:
Andrey Mazo
2009-05-15 13:52:35 +04:00
parent 86aa196354
commit dd025e8ff6

View File

@@ -135,7 +135,11 @@ HwmpMacPlugin::UpdateOutcomingFrame (Ptr<Packet> packet, WifiMacHeader & header,
return true;
HwmpTag tag;
bool tagExists = packet->RemovePacketTag(tag);
NS_ASSERT (tagExists);
if (!tagExists)
{
//do it this way to silence compiler
NS_ASSERT (false);
}
MeshHeader meshHdr;
meshHdr.SetMeshSeqno(tag.GetSeqno());