--- a/src/node/net-device.h Fri May 11 19:15:28 2007 +0200
+++ b/src/node/net-device.h Fri May 11 19:26:01 2007 +0200
@@ -25,9 +25,9 @@
#include <stdint.h>
#include "ns3/callback.h"
#include "ns3/packet.h"
-#include "ns3/object.h"
+#include "ns3/interface.h"
+#include "ns3/ptr.h"
#include "mac-address.h"
-#include "ns3/ptr.h"
namespace ns3 {
@@ -55,9 +55,10 @@
* this base class and implement your own version of the
* NetDevice::SendTo method.
*/
-class NetDevice : public Object
+class NetDevice : public Interface
{
public:
+ static const InterfaceId iid;
/**
* \param node base class node pointer of device's node
* \param addr MAC address of this device.