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

(-)a/src/network/model/socket.cc (-2 / +1 lines)
 Lines 304-315    Link Here 
304
{
304
{
305
  if (netdevice != 0)
305
  if (netdevice != 0)
306
    {
306
    {
307
      bool found = false;
308
      for (uint32_t i = 0; i < GetNode()->GetNDevices (); i++)
307
      for (uint32_t i = 0; i < GetNode()->GetNDevices (); i++)
309
        {
308
        {
310
          if (GetNode()->GetDevice (i) == netdevice)
309
          if (GetNode()->GetDevice (i) == netdevice)
311
            {
310
            {
312
              found = true;
311
              // found 
313
              break;
312
              break;
314
            }
313
            }
315
        }
314
        }

Return to bug 1154