summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-07 21:30:52 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-07 21:37:30 +0100
commit33e51f5996c02c6a6aee27b57d91d90e3f1db5a2 (patch)
treeb5f4757eb1b3e20ec4b98e8ce6f6e54b4f93a2d9
parent80f804505dc970613fd9d90b7d3ce52f9fd40c7a (diff)
downloaddabmux-33e51f5996c02c6a6aee27b57d91d90e3f1db5a2.tar.gz
dabmux-33e51f5996c02c6a6aee27b57d91d90e3f1db5a2.tar.bz2
dabmux-33e51f5996c02c6a6aee27b57d91d90e3f1db5a2.zip
Print dabOutputTCP connection drop
-rw-r--r--src/dabOutput/dabOutputTcp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dabOutput/dabOutputTcp.cpp b/src/dabOutput/dabOutputTcp.cpp
index 02bc7f0..2aab48a 100644
--- a/src/dabOutput/dabOutputTcp.cpp
+++ b/src/dabOutput/dabOutputTcp.cpp
@@ -95,6 +95,10 @@ class TCPConnection
m_running = false;
}
}
+
+ auto addr = m_sock.getRemoteAddress();
+ etiLog.level(debug) << "Dropping TCP Connection from " <<
+ addr.getHostAddress() << ":" << addr.getPort();
}
};