From 1ed9be783962349091d9226838f042a5e5c48a40 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 12 Dec 2019 13:47:51 +1000 Subject: Add timeout and speed bits to the data padding function. --- apt-panopticommon.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 2911178..f207746 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -405,6 +405,8 @@ APT.fill = function(results) if nil == tests.URLSanity then tests.URLSanity = {errors = 0; warnings = 0} end results[v] = tests end + if nil == results.timeout then results.timeout = false end + if nil == results.speed then results.speed = {min = 0; max = 0} end return results end -- cgit v1.1