--- a/src/internet-node/ipv4-interface.cc Wed Apr 09 17:27:56 2008 -0700
+++ b/src/internet-node/ipv4-interface.cc Wed Apr 09 17:28:19 2008 -0700
@@ -28,6 +28,15 @@
namespace ns3 {
+TypeId
+Ipv4Interface::GetTypeId (void)
+{
+ static TypeId tid = TypeId ("ns3::Ipv4Interface")
+ .SetParent<Object> ()
+ ;
+ return tid;
+}
+
/**
* By default, Ipv4 interface are created in the "down" state
* with ip address 192.168.0.1 and a matching mask. Before
--- a/src/internet-node/ipv4-interface.h Wed Apr 09 17:27:56 2008 -0700
+++ b/src/internet-node/ipv4-interface.h Wed Apr 09 17:28:19 2008 -0700
@@ -63,6 +63,8 @@
class Ipv4Interface : public Object
{
public:
+ static TypeId GetTypeId (void);
+
Ipv4Interface ();
virtual ~Ipv4Interface();