1.1 --- a/src/internet-node/ipv4-interface.cc Wed Apr 09 17:27:56 2008 -0700
1.2 +++ b/src/internet-node/ipv4-interface.cc Wed Apr 09 17:28:19 2008 -0700
1.3 @@ -28,6 +28,15 @@
1.4
1.5 namespace ns3 {
1.6
1.7 +TypeId
1.8 +Ipv4Interface::GetTypeId (void)
1.9 +{
1.10 + static TypeId tid = TypeId ("ns3::Ipv4Interface")
1.11 + .SetParent<Object> ()
1.12 + ;
1.13 + return tid;
1.14 +}
1.15 +
1.16 /**
1.17 * By default, Ipv4 interface are created in the "down" state
1.18 * with ip address 192.168.0.1 and a matching mask. Before
2.1 --- a/src/internet-node/ipv4-interface.h Wed Apr 09 17:27:56 2008 -0700
2.2 +++ b/src/internet-node/ipv4-interface.h Wed Apr 09 17:28:19 2008 -0700
2.3 @@ -63,6 +63,8 @@
2.4 class Ipv4Interface : public Object
2.5 {
2.6 public:
2.7 + static TypeId GetTypeId (void);
2.8 +
2.9 Ipv4Interface ();
2.10 virtual ~Ipv4Interface();
2.11