src/internet-node/udp-l4-protocol.cc
changeset 1524 3ead2b66f2e4
parent 1504 36ecc970ba96
child 1828 6ab68edddf45
child 1866 e7dbcc4df546
--- a/src/internet-node/udp-l4-protocol.cc	Fri Sep 21 18:07:54 2007 +0100
+++ b/src/internet-node/udp-l4-protocol.cc	Mon Sep 24 11:00:08 2007 +0100
@@ -123,8 +123,9 @@
 
 void 
 UdpL4Protocol::Receive(Packet& packet, 
-             Ipv4Address const &source,
-             Ipv4Address const &destination)
+                       Ipv4Address const &source,
+                       Ipv4Address const &destination,
+                       Ptr<Ipv4Interface> interface)
 {
   NS_LOG_FUNCTION; 
   NS_LOG_PARAM ("(" << &packet << ", " << source << ", " << destination << 
@@ -134,7 +135,7 @@
   packet.RemoveHeader (udpHeader);
   Ipv4EndPointDemux::EndPoints endPoints =
     m_endPoints->Lookup (destination, udpHeader.GetDestination (),
-                         source, udpHeader.GetSource ());
+                         source, udpHeader.GetSource (), interface);
   for (Ipv4EndPointDemux::EndPointsI endPoint = endPoints.begin ();
        endPoint != endPoints.end (); endPoint++)
     {