View | Details | Raw Unified | Return to bug 407
Collapse All | Expand All

(-)a/src/routing/olsr/olsr-routing-protocol.cc (-3 / +1 lines)
 Lines 1751-1757    Link Here 
1751
  for (uint32_t i = 0; i < m_ipv4->GetNInterfaces (); i++)
1751
  for (uint32_t i = 0; i < m_ipv4->GetNInterfaces (); i++)
1752
    {
1752
    {
1753
      Ipv4Address addr = m_ipv4->GetAddress (i, 0).GetLocal ();
1753
      Ipv4Address addr = m_ipv4->GetAddress (i, 0).GetLocal ();
1754
      if (addr != m_mainAddress && addr != loopback)
1754
      if (addr != m_mainAddress && addr != loopback && m_interfaceExclusions.find (i) == m_interfaceExclusions.end ())
1755
        mid.interfaceAddresses.push_back (addr);
1755
        mid.interfaceAddresses.push_back (addr);
1756
    }
1756
    }
1757
  if (mid.interfaceAddresses.size () == 0)
1757
  if (mid.interfaceAddresses.size () == 0)
 Lines 2603-2609    Link Here 
2603
2603
2604
///
2604
///
2605
/// \brief Sends a MID message (if the node has more than one interface) and resets the MID timer.
2605
/// \brief Sends a MID message (if the node has more than one interface) and resets the MID timer.
2606
/// \warning Currently it does nothing because there is no support for multiple interfaces.
2607
/// \param e The event which has expired.
2606
/// \param e The event which has expired.
2608
///
2607
///
2609
void
2608
void
 Lines 2788-2794    Link Here 
2788
2787
2789
///
2788
///
2790
/// \brief Removes tuple_ if expired. Else timer is rescheduled to expire at tuple_->time().
2789
/// \brief Removes tuple_ if expired. Else timer is rescheduled to expire at tuple_->time().
2791
/// \warning Actually this is never invoked because there is no support for multiple interfaces.
2792
/// \param e The event which has expired.
2790
/// \param e The event which has expired.
2793
///
2791
///
2794
void
2792
void

Return to bug 407