src/internet-stack/ipv4-l3-protocol.cc
changeset 4567 32ca321e4fe7
parent 4565 7ce6e331cacb
child 4571 2c9c600270e0
--- a/src/internet-stack/ipv4-l3-protocol.cc	Fri Jun 19 07:25:40 2009 -0700
+++ b/src/internet-stack/ipv4-l3-protocol.cc	Fri Jun 19 16:49:09 2009 +0200
@@ -531,10 +531,10 @@
     }
   // 5) packet is not broadcast, and route is NULL (e.g., a raw socket call)
   NS_LOG_LOGIC ("Ipv4L3Protocol::Send case 4:  passed in with no route " << destination);
-  Socket::SocketErrno errno; 
+  Socket::SocketErrno errno_; 
   uint32_t oif = 0; // unused for now
   ipHeader = BuildHeader (source, destination, protocol, packet->GetSize (), ttl, mayFragment);
-  Ptr<Ipv4Route> newRoute = m_routingProtocol->RouteOutput (ipHeader, oif, errno);
+  Ptr<Ipv4Route> newRoute = m_routingProtocol->RouteOutput (ipHeader, oif, errno_);
   if (newRoute)
     {
       SendRealOut (newRoute, packet, ipHeader);