summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index 8296add..501fa50 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -1153,8 +1153,8 @@ static int screen_main(const char *ifname, uint64_t ms_interval,
panic_handler_add(on_panic_handler, NULL);
- if (((rate > SPEED_1000 && ms_interval <= 1000) ||
- (rate = SPEED_1000 && ms_interval < 1000)) &&
+ if (((rate > SPEED_1000 && ms_interval <= 10000) ||
+ (rate == SPEED_1000 && ms_interval < 1000)) &&
!suppress_warnings)
need_info = true;