changeset 5002 | 4ff127c1f6fa |
parent 4997 | aa5b351eccf3 |
child 5008 | 9650fb0087d2 |
--- a/src/devices/mesh/dot11s/hwmp-mac-plugin.cc Sat May 02 15:33:42 2009 +0400 +++ b/src/devices/mesh/dot11s/hwmp-mac-plugin.cc Sat May 02 16:51:00 2009 +0400 @@ -131,7 +131,8 @@ HwmpMacPlugin::UpdateOutcomingFrame (Ptr<Packet> packet, WifiMacHeader & header, Mac48Address from, Mac48Address to) const { //TODO: add a mesh header and remove a TAG - NS_ASSERT(header.IsData ()); + if(!header.IsData ()) + return true; HwmpTag tag; bool tagExists = packet->RemovePacketTag(tag); NS_ASSERT (tagExists);