From 5d1dbda7c2862e3e9f5d469b3b7050474e229a6c Mon Sep 17 00:00:00 2001 From: Johannes Truschnigg Date: Sat, 12 Mar 2022 23:35:17 +0100 Subject: [PATCH] Compare latency, do not assign it --- __lagdetect.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__lagdetect.awk b/__lagdetect.awk index d7e33da..58e1a1b 100644 --- a/__lagdetect.awk +++ b/__lagdetect.awk @@ -49,7 +49,7 @@ function process_record(pn, bytes, lat) { exit 1 } - if (bytes == 0 && lat = 9999) { + if (bytes == 0 && lat == 9999) { print "# WARN: TIMEOUT: " pn return 1 } -- 2.39.5