src/node/net-device.cc
changeset 582 b10ef84683a5
parent 568 e1660959ecbb
child 586 6220d0040d50
--- a/src/node/net-device.cc	Fri May 11 19:15:28 2007 +0200
+++ b/src/node/net-device.cc	Fri May 11 19:26:01 2007 +0200
@@ -21,15 +21,19 @@
 
 #include <iostream>
 #include "ns3/assert.h"
+#include "ns3/interface.h"
 
+#include "channel.h"
 #include "net-device.h"
 #include "llc-snap-header.h"
 #include "node.h"
-#include "ns3/channel.h"
 
 namespace ns3 {
 
+const InterfaceId NetDevice::iid ("NetDevice");
+
 NetDevice::NetDevice(Ptr<Node> node, const MacAddress& addr) : 
+  Interface (NetDevice::iid),
   m_node (node), 
   m_name(""), 
   m_ifIndex (0),