aboutsummaryrefslogtreecommitdiffstats
path: root/src/fnettrace/fnettrace.h
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-01-18 14:14:44 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2022-01-18 14:14:44 -0500
commit4dd1e92ba1c0687d3f5860ccc58c80d28c8905b8 (patch)
tree49fc769149cbc3a343cee46838c6a19c9e4145f3 /src/fnettrace/fnettrace.h
parentgitlab-ci: fix debian_ci build (dh_missing hostnames) (#4865) (diff)
downloadfirejail-4dd1e92ba1c0687d3f5860ccc58c80d28c8905b8.tar.gz
firejail-4dd1e92ba1c0687d3f5860ccc58c80d28c8905b8.tar.zst
firejail-4dd1e92ba1c0687d3f5860ccc58c80d28c8905b8.zip
nettrace fixes
Diffstat (limited to 'src/fnettrace/fnettrace.h')
-rw-r--r--src/fnettrace/fnettrace.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fnettrace/fnettrace.h b/src/fnettrace/fnettrace.h
index 59b9618a9..66b7378da 100644
--- a/src/fnettrace/fnettrace.h
+++ b/src/fnettrace/fnettrace.h
@@ -29,11 +29,10 @@
29#include <stdarg.h> 29#include <stdarg.h>
30//#define DEBUG 1 30//#define DEBUG 1
31 31
32//#define NETLOCK_INTERVAL 15 32#define NETLOCK_INTERVAL 60 // seconds
33#define NETLOCK_INTERVAL 60 33#define DISPLAY_INTERVAL 2 // seconds
34#define DISPLAY_INTERVAL 2 34#define DISPLAY_TTL 4 // display intervals (4 * 2 seconds)
35#define DISPLAY_TTL 4 35#define DISPLAY_BW_UNITS 20 // length of the bandwidth bar
36#define DISPLAY_BW_UNITS 20
37 36
38 37
39static inline void ansi_topleft(void) { 38static inline void ansi_topleft(void) {