Bugzilla – Bug 918
samples/main-packet-header.cc is broken
Last modified: 2010-07-21 00:11:51 UTC
as of ns-3.8 at least.
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!