Bug 2506 - A better TypeId name for MeshHeader ?
A better TypeId name for MeshHeader ?
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: mesh
unspecified
PC Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-19 22:56 UTC by Junling Bu
Modified: 2016-09-28 00:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Junling Bu 2016-09-19 22:56:31 UTC
Hi,

The following class ns3::dot11s::MeshHeader has a name "ns3::Dot11sMacHeader" which may be better to use "ns3::dot11s::MacHeader".
And other classes in the src/mesh/dot11s have used "ns3::dot11s" except MeshHeader.

    31 TypeId
    32 MeshHeader::GetTypeId ()
    33 {
    34   static TypeId tid = TypeId ("ns3::Dot11sMacHeader")
    35     .SetParent<Header> ()
    36     .SetGroupName ("Mesh")
    37     .AddConstructor<MeshHeader> ();
    38   return tid;
    39 }

Junling
Comment 1 Tom Henderson 2016-09-28 00:09:06 UTC
fixed in changeset 12349:4da2f9b62a16