- struct in6_addr* address, const struct loc_database_network_v0* dbobj) {
- int r = loc_network_new(ctx, network, address, dbobj->prefix);
+ struct in6_addr* address, unsigned int prefix, const struct loc_database_network_v0* dbobj) {
+ int r = loc_network_new(ctx, network, address, prefix);