several bugfixes, including some memory management

This commit is contained in:
Arnout Engelen
2004-09-14 16:14:23 +00:00
parent a695b7db2a
commit cf2f473cd1
7 changed files with 82 additions and 51 deletions

View File

@@ -19,6 +19,10 @@
* after which a process is removed */
#define PROCESSTIMEOUT 150
/* the amount of time after the last packet was recieved
* after which a connection is removed */
#define CONNTIMEOUT 50
/* Set to '0' when compiling for a system that uses Linux Capabilities,
* like www.adamantix.org: in that case nethogs shouldn't check if it's
* running as root. Take care to give it sufficient privileges though. */