X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Flibloc.git;a=blobdiff_plain;f=src%2Floc%2Fformat.h;h=c590a6447aa594f4639eaa3d355f29d50147f223;hp=8309d1cf66858e29ece8b9d989466c18a3cdcfc4;hb=39a55353998bb8b854e0ad4ad4a31357aaf69b25;hpb=901ef8828b949b6887b69abd452df1efaa5cf368 diff --git a/src/loc/format.h b/src/loc/format.h index 8309d1c..c590a64 100644 --- a/src/loc/format.h +++ b/src/loc/format.h @@ -67,11 +67,12 @@ struct loc_database_header_v0 { struct loc_database_network_node_v0 { uint32_t zero; uint32_t one; + + uint32_t network; }; struct loc_database_network_v0 { - // The start address will be encoded in the tree - uint8_t prefix; + // The start address and prefix will be encoded in the tree // The country this network is located in char country_code[2];