Add diagnostic logging reading /proc/net/tcp

This commit is contained in:
Arnout Engelen
2016-03-27 22:14:17 +02:00
parent 286a1a8ad2
commit f5692feb9e
2 changed files with 6 additions and 3 deletions

View File

@@ -278,7 +278,8 @@ Process *getProcess(Connection *connection, const char *devicename) {
// no? refresh and check conn/inode table
if (bughuntmode) {
std::cout << "? new connection not in connection-to-inode table before "
"refresh.\n";
"refresh, hash " << connection->refpacket->gethashstring()
<< std::endl;
}
// refresh the inode->pid table first. Presumably processing the renewed
// connection->inode table