Bug 212 - Packet::PrintTags doesn't seem to be printing my complicated tag.
Packet::PrintTags doesn't seem to be printing my complicated tag.
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
PC Linux
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-04 19:38 UTC by evensky
Modified: 2008-06-04 20:08 UTC (History)
0 users

See Also:


Attachments
big tag testcase. (3.01 KB, text/x-c++src)
2008-06-04 19:38 UTC, evensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description evensky 2008-06-04 19:38:14 UTC
# compile using something like:
g++ -DNS3_ASSERT_ENABLE -DNS3_LOG_ENABLE -DDEBUG -UUSEPACKET -g -O0 -I/.../ns-3-dev/build/debug -I/.../ns-3-dev/build/debug -I. -c -o big-tag.o big-tag.cc
g++ -DNS3_ASSERT_ENABLE -DNS3_LOG_ENABLE -DDEBUG -UUSEPACKET -g -O0 -L/.../ns-3-dev/build/debug -lns3 -Wl,-rpath=/.../ns-3-dev/build/debug  -o big-tag big-tag.o

#run using something like:
evensky@waltz$ ./big-tag 
with Packet::FindFirstMatchingTag (Atag=hi:10)
with Packet::PrintTags ns3::Atag [0-100] (Atag=:0)

so my tag prints using Packet::FindFirstMatchingTag and Tag::Print but doesn't
print correctly using Packet::PrintTags.
Comment 1 evensky 2008-06-04 19:38:52 UTC
Created attachment 148 [details]
big tag testcase.
Comment 2 Mathieu Lacage 2008-06-04 20:00:11 UTC
changeset: e59680767a04
Comment 3 evensky 2008-06-04 20:08:25 UTC
works great. \dae