Fixed the networking code so that it provides all the interfaces. Also can filter interfaces based on type.