]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/detect_time_skew: fix wording of the message
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 8 Oct 2021 07:36:28 +0000 (09:36 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 8 Oct 2021 07:36:28 +0000 (09:36 +0200)
Local time appears in future == the signatures appear not valid
*anymore*, and vice versa.

modules/detect_time_skew/detect_time_skew.lua

index c96ff4d020abb46ffed9f0af4656f0e3cf2a10ae..6eb2ab0e5f1674579462817d3631cffd3d59185f 100644 (file)
@@ -51,7 +51,7 @@ local function check_time_callback(pkt, req)
                     os.date("%c", now),
                     math.abs(time_diff),
                     time_diff > 0 and "future" or "past",
-                    time_diff > 0 and "yet" or "anymore")
+                    time_diff > 0 and "anymore" or "yet")
        else
                log_info(ffi.C.LOG_GRP_DETECTTIMESKEW, "Local system time %q is within "..
                    "RRSIG validity interval <%q,%q>.", os.date("%c", now),