diff -r b1744fac67da src/applications/packet-sink/packet-sink.cc --- a/src/applications/packet-sink/packet-sink.cc Wed Aug 13 10:11:41 2008 -0700 +++ b/src/applications/packet-sink/packet-sink.cc Wed Aug 13 16:38:28 2008 -0400 @@ -85,7 +85,7 @@ void PacketSink::StartApplication() / // Create the socket if not already if (!m_socket) { - m_socket = Socket::CreateSocket (GetNode(), m_tid); + m_socket = Socket::CreateSocket (GetNode(), m_tid.GetName ().c_str()); m_socket->Bind (m_local); m_socket->Listen (0); } diff -r b1744fac67da src/core/type-id.h --- a/src/core/type-id.h Wed Aug 13 10:11:41 2008 -0700 +++ b/src/core/type-id.h Wed Aug 13 16:35:06 2008 -0400 @@ -96,7 +96,7 @@ public: * No two instances can share the same name. The name is expected to be * the full c++ typename of associated c++ object. */ - TypeId (const char * name); + explicit TypeId (const char * name); /** * \returns the parent of this TypeId