merge
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 16 Feb 2011 12:53:51 +0000
changeset 6946 9b2ba5eeb328
parent 6945 11ebbf3c0931 (current diff)
parent 6942 38d2dbcde9c1 (diff)
child 6947 a09e1a107172
merge
--- a/src/routing/olsr/model/olsr-routing-protocol.cc	Wed Feb 16 12:39:19 2011 +0000
+++ b/src/routing/olsr/model/olsr-routing-protocol.cc	Wed Feb 16 12:53:51 2011 +0000
@@ -1940,9 +1940,8 @@
   // Iterate over entries of the associated routing table and
   // add the routes using non-olsr outgoing interfaces to the list
   // of local HNA associations
-  const Associations &localHnaAssociations = m_state.GetAssociations (); // Just for logging
   NS_LOG_DEBUG ("Nb local associations before adding some entries from"
-                " the associated routing table: " << localHnaAssociations.size ());
+                " the associated routing table: " << m_state.GetAssociations ().size ());
   for (uint32_t i = 0; i < m_routingTableAssociation->GetNRoutes (); i++)
     {
       Ipv4RoutingTableEntry route = m_routingTableAssociation->GetRoute (i);
@@ -1957,7 +1956,7 @@
         }
     }
   NS_LOG_DEBUG ("Nb local associations after having added some entries from "
-                "the associated routing table: " << localHnaAssociations.size ());
+                "the associated routing table: " << m_state.GetAssociations ().size ());
 }
 
 ///