src/internet-node/ipv4-loopback-interface.cc
changeset 1376 ad7e61edfb9d
parent 1365 4ae411ac425f
parent 1271 c04a400a54c9
child 1451 e421081dd580
--- a/src/internet-node/ipv4-loopback-interface.cc	Tue Aug 28 11:22:01 2007 +0200
+++ b/src/internet-node/ipv4-loopback-interface.cc	Tue Aug 28 12:05:35 2007 +0200
@@ -21,6 +21,7 @@
  */
 #include "ns3/net-device.h"
 #include "ns3/node.h"
+#include "ns3/eui48-address.h"
 #include "ipv4-loopback-interface.h"
 #include "ipv4-l3-protocol.h"
 
@@ -36,7 +37,7 @@
 Ipv4LoopbackInterface::SendTo (Packet packet, Ipv4Address dest)
 {
   Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> (Ipv4L3Protocol::iid);
-  ipv4->Receive (GetDevice (), packet, Ipv4L3Protocol::PROT_NUMBER, GetDevice ()->GetAddress ());
+  ipv4->Receive (GetDevice (), packet, Ipv4L3Protocol::PROT_NUMBER, Eui48Address ("ff:ff:ff:ff:ff:ff"));
 }
 
 }//namespace ns3