Improved nics func prints all interfaces.