]> johannes.truschnigg.info Git - sqm_lagthrottle/commitdiff
Compare latency, do not assign it
authorJohannes Truschnigg <johannes@truschnigg.info>
Sat, 12 Mar 2022 22:35:17 +0000 (23:35 +0100)
committerJohannes Truschnigg <johannes@truschnigg.info>
Sat, 12 Mar 2022 22:35:17 +0000 (23:35 +0100)
__lagdetect.awk

index d7e33daa3427617cc8ec36b1032f3d894de1853c..58e1a1b0e15ee39e0132746ce184f34cc2c60daf 100644 (file)
@@ -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
   }