From 17e2ca71b4f6db76a4848d366defa36f1b19bdd7 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 18 Feb 2011 14:15:10 +0100 Subject: Logging of duplicit identities added Signed-off-by: Martin Sustrik --- src/session.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/session.cpp') diff --git a/src/session.cpp b/src/session.cpp index 350d043..645ebf0 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -234,6 +234,7 @@ void zmq::session_t::process_attach (i_engine *engine_, // If the session already has an engine attached, destroy new one. // Note new engine is not plugged in yet, we don't have to unplug it. if (engine) { + log ("DPID: duplicate peer identity - disconnecting peer"); delete engine_; return; } -- cgit v1.2.3