* Use std::map instead of hand-written hashtable
* Use handwritten inode-to-process-mapping instead of the one taken from netstat * Use a #define for using assertions
This commit is contained in:
@@ -62,7 +62,7 @@ u_int32_t PackList::sumanddel (timeval t)
|
||||
|
||||
Connection::Connection (Packet * packet)
|
||||
{
|
||||
if (DEBUG)
|
||||
if (ROBUST)
|
||||
assert (packet != NULL);
|
||||
connections = new ConnList (this, connections);
|
||||
sent_packets = new PackList ();
|
||||
|
||||
Reference in New Issue
Block a user