src/common/packet.cc
changeset 2693 56e28e34e109
parent 2663 dc5314da50aa
child 2790 29e10e971644
--- a/src/common/packet.cc	Fri Mar 21 13:24:15 2008 -0700
+++ b/src/common/packet.cc	Fri Mar 21 13:41:16 2008 -0700
@@ -308,14 +308,14 @@
               Chunk *chunk = dynamic_cast<Chunk *> (instance);
               NS_ASSERT (chunk != 0);
               chunk->Deserialize (item.current);
-              for (uint32_t j = 0; j < item.tid.GetAttributeListN (); j++)
+              for (uint32_t j = 0; j < item.tid.GetAttributeN (); j++)
                 {
                   std::string attrName = item.tid.GetAttributeName (j);
                   std::string value;
                   bool ok = chunk->GetAttribute (attrName, value);
                   NS_ASSERT (ok);
                   os << attrName << "=" << value;
-                  if ((j + 1) < item.tid.GetAttributeListN ())
+                  if ((j + 1) < item.tid.GetAttributeN ())
                     {
                       os << ",";
                     }