--- a/src/internet/test/error-channel.h Tue Dec 03 13:46:53 2013 -0800
+++ b/src/internet/test/error-channel.h Tue Dec 03 22:49:51 2013 +0100
@@ -41,8 +41,8 @@
static TypeId GetTypeId (void);
ErrorChannel ();
- void Send (Ptr<Packet> p, uint16_t protocol, Mac48Address to, Mac48Address from,
- Ptr<SimpleNetDevice> sender);
+ virtual void Send (Ptr<Packet> p, uint16_t protocol, Mac48Address to, Mac48Address from,
+ Ptr<SimpleNetDevice> sender);
void Add (Ptr<SimpleNetDevice> device);
--- a/src/network/utils/simple-channel.h Tue Dec 03 13:46:53 2013 -0800
+++ b/src/network/utils/simple-channel.h Tue Dec 03 22:49:51 2013 +0100
@@ -51,8 +51,8 @@
* \param sender netdevice who sent the packet
*
*/
- void Send (Ptr<Packet> p, uint16_t protocol, Mac48Address to, Mac48Address from,
- Ptr<SimpleNetDevice> sender);
+ virtual void Send (Ptr<Packet> p, uint16_t protocol, Mac48Address to, Mac48Address from,
+ Ptr<SimpleNetDevice> sender);
/**
* Attached a net device to the channel.