]> git.ipfire.org Git - ipfire.org.git/commitdiff
fireinfo: Accept profiles with bogomips
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Mar 2025 10:13:46 +0000 (10:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Mar 2025 10:13:46 +0000 (10:13 +0000)
We should not really have anyone send this any more, but there seem to
be many really outdated machines out there that are spamming my logs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/fireinfo.py

index 702739bd6dfe10eeeab7a98aeabc95a793dd05cd..c2c603dee8072cb40f54a6fd4c8c3b6c39909fbd 100644 (file)
@@ -99,6 +99,9 @@ PROFILE_SCHEMA = {
                                        "type"    : "string",
                                        "pattern" : r"^[a-z0-9\_]{,8}$",
                                },
+                               "bogomips" : {
+                                       "type" : "number",
+                               },
                                "count" : {
                                        "type" : "integer",
                                },