src/internet-node/l3-protocol.h
changeset 568 e1660959ecbb
parent 554 6428d95da8c3
child 632 1e419ebb4012
--- a/src/internet-node/l3-protocol.h	Thu May 10 18:33:52 2007 +0200
+++ b/src/internet-node/l3-protocol.h	Thu May 10 20:19:26 2007 +0200
@@ -26,6 +26,7 @@
 #define L3_PROTOCOL_H
 
 #include "ns3/object.h"
+#include "ns3/ptr.h"
 
 namespace ns3 {
 
@@ -53,7 +54,7 @@
    *    - implement a per-NetDevice ARP cache
    *    - send back arp replies on the right device
    */
-  virtual void Receive(Packet& p, NetDevice *device) = 0;
+  virtual void Receive(Packet& p, Ptr<NetDevice> device) = 0;
 
 protected:
   virtual void DoDispose (void);