Bugzilla – Full Text Bug Listing |
Summary: | samples/main-packet-header.cc is broken | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
Component: | samples | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | pre-release | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | A patch to the main-packet-header.cc |
Description
Tom Henderson
2010-05-21 01:23:36 UTC
Created attachment 937 [details]
A patch to the main-packet-header.cc
The following line was added in TypeId MyHeader::GetTypeId(void) function
.AddConstructor<MyHeader> ()
making it:
TypeId
MyHeader::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::MyHeader")
.SetParent<Header> ()
.AddConstructor<MyHeader> ()
;
return tid;
}
fixed in changeset: e78c1b19f4de Thanks for posting a fix! |