Fixes #6444 - add support for virtual NICs

regexp is being tested twice here, perhaps more efficient to match once and skip the loop if not?