-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to write the same CIDR to different countries in customized Country.mmdb file? #44
Comments
I am not quite sure what you are asking. Each leaf node has a single record. It isn't possible for a node to have two records. However, that record may contain whatever you want, including an array of country codes. |
Sorry for the confusion. I use But the software I use can only read and parse As we all know, the IP |
I would recommend just adding a new field to the record with the extra information you want. The country code is a string, not an array, but there is nothing stopping you from adding a new key with different data. You could have an array of countries as I mentioned in my first message, although that would break compatibility with |
thanks |
I want the same CIDR, eg
1.0.0.1/24
to be added to different countriesUS
andCN
in my customizedCountry.mmdb
file.How can I do that?
The text was updated successfully, but these errors were encountered: