aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Cardigliano <cardigliano@ntop.org>2022-01-21 17:35:38 +0100
committerAlfredo Cardigliano <cardigliano@ntop.org>2022-01-21 17:35:38 +0100
commit20b9f01f127a9fe803492440ade44b32981959b7 (patch)
tree9b5a8314836621ba30dd1b9bd191b2dbb964a38f
parenta0bb0ab0ca007dc9c2a3d97367157b3d21def485 (diff)
Fix ndpi_serialize_string_int64
-rw-r--r--src/lib/ndpi_serializer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_serializer.c b/src/lib/ndpi_serializer.c
index 60093ad90..28d2a11b7 100644
--- a/src/lib/ndpi_serializer.c
+++ b/src/lib/ndpi_serializer.c
@@ -1355,7 +1355,7 @@ int ndpi_serialize_binary_int64(ndpi_serializer *_serializer,
} else {
serializer->buffer.data[serializer->status.buffer.size_used++] = (ndpi_serialization_string << 4) | ndpi_serialization_int64;
ndpi_serialize_single_string(serializer, key, klen);
- ndpi_serialize_single_uint32(serializer, value);
+ ndpi_serialize_single_uint64(serializer, value);
}
}