face: use NetworkInterfaceInfo directly in EthernetFace.
Finally getting rid of EthernetFactory::findAllInterfaces()
and EthernetFace::getInterfaceAddress().
Change-Id: I94fe2016cc98778af3115569b1d21d5c48425d9c
diff --git a/daemon/mgmt/face-manager.cpp b/daemon/mgmt/face-manager.cpp
index 28f8a16..bbd495e 100644
--- a/daemon/mgmt/face-manager.cpp
+++ b/daemon/mgmt/face-manager.cpp
@@ -489,7 +489,7 @@
try
{
shared_ptr<EthernetFace> newFace =
- factory->createMulticastFace(nic->name, mcastGroup);
+ factory->createMulticastFace(nic, mcastGroup);
NFD_LOG_INFO("Created multicast Face ID " << newFace->getId());
}
catch (const EthernetFactory::Error& factoryError)