From 126cb18a6b7821b0f1a15639b5f704b03271b0b9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 15 Oct 2019 13:23:19 +0000 Subject: [PATCH] database format: Reduce number of flags to 16 32 is very excessive and I hope we will never need that many. Hence we reserve the remaining space. Signed-off-by: Michael Tremer --- src/loc/format.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/loc/format.h b/src/loc/format.h index 6ea6036..71acda4 100644 --- a/src/loc/format.h +++ b/src/loc/format.h @@ -85,7 +85,10 @@ struct loc_database_network_v0 { uint32_t asn; // Flags - uint32_t flags; + uint16_t flags; + + // Reserved + char padding[2]; }; struct loc_database_as_v0 { -- 2.47.3