From: Johannes Truschnigg Date: Sat, 12 Mar 2022 22:35:17 +0000 (+0100) Subject: Compare latency, do not assign it X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=5d1dbda7c2862e3e9f5d469b3b7050474e229a6c;p=sqm_lagthrottle Compare latency, do not assign it --- 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 }