From d8f4c308afabe812a9d7cede96bca121a57cea80 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 28 Aug 2023 17:59:18 +0200 Subject: [PATCH] ProtobufLogger.py: Fix an issue with meta containing both integer and string values --- contrib/ProtobufLogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ProtobufLogger.py b/contrib/ProtobufLogger.py index c6bb0269df..7493211b47 100644 --- a/contrib/ProtobufLogger.py +++ b/contrib/ProtobufLogger.py @@ -269,7 +269,7 @@ class PDNSPBConnHandler(object): for entry in mt.value.stringVal: values = ', '.join([values, entry]) if values != '' else entry for entry in mt.value.intVal: - values = ', '.join([values, entry]) if values != '' else entry + values = ', '.join([values, str(entry)]) if values != '' else str(entry) print('- %s -> %s' % (mt.key, values)) -- 2.47.2