Bugzilla – Attachment #1123: patch for bug #1154
{
if (netdevice != 0)
bool found = false;
for (uint32_t i = 0; i < GetNode()->GetNDevices (); i++)
if (GetNode()->GetDevice (i) == netdevice)
found = true;
// found
break;
}