face: delete redundant protocol typedefs.
Change-Id: I32e1100e7395070a29ee813658aac82b63b6c4f2
diff --git a/daemon/face/multicast-udp-face.cpp b/daemon/face/multicast-udp-face.cpp
index f0e752b..b5632e2 100644
--- a/daemon/face/multicast-udp-face.cpp
+++ b/daemon/face/multicast-udp-face.cpp
@@ -10,16 +10,14 @@
NFD_LOG_INIT("MulticastUdpFace");
-
MulticastUdpFace::MulticastUdpFace(const shared_ptr<MulticastUdpFace::protocol::socket>& socket)
: DatagramFace<protocol>(FaceUri(socket->local_endpoint()), socket, false)
+ , m_multicastGroup(m_socket->local_endpoint())
{
- NFD_LOG_DEBUG("Face creation. Multicast group: "
- << m_socket->local_endpoint());
- m_multicastGroup = m_socket->local_endpoint();
+ NFD_LOG_INFO("Creating multicast UDP face for group " << m_multicastGroup);
}
-const boost::asio::ip::udp::endpoint&
+const MulticastUdpFace::protocol::endpoint&
MulticastUdpFace::getMulticastGroup() const
{
return m_multicastGroup;
@@ -48,13 +46,13 @@
NFD_LOG_DEBUG("Sending data");
m_socket->async_send_to(boost::asio::buffer(data.wireEncode().wire(),
- data.wireEncode().size()),
+ data.wireEncode().size()),
m_multicastGroup,
bind(&DatagramFace<protocol>::handleSend, this, _1, data.wireEncode()));
-
+
// anything else should be done here?
}
-
+
bool
MulticastUdpFace::isMultiAccess() const
{