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
: ns-3
simulation core
: pre-release
: PC Linux
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-04 19:38 EDT by
Modified: 2008-06-04 20:08 EDT (History)


Attachments
big tag testcase. (3.01 KB, text/x-c++src)
2008-06-04 19:38 EDT, evensky@dancer.ca.sandia.gov
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-04 19:38:14 EDT
# 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 From 2008-06-04 19:38:52 EDT -------
Created an attachment (id=148) [details]
big tag testcase.
------- Comment #2 From 2008-06-04 20:00:11 EDT -------
changeset: e59680767a04
------- Comment #3 From 2008-06-04 20:08:25 EDT -------
works great. \dae