From: Michael Tremer Date: Tue, 15 Oct 2019 13:23:19 +0000 (+0000) Subject: database format: Reduce number of flags to 16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=126cb18a6b7821b0f1a15639b5f704b03271b0b9;p=people%2Fsennis%2Flibloc.git 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 --- 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 {