Skip to content
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

Always write the network field if no field in input. #4

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

UmanShahzad
Copy link
Contributor

Noticed this issue when writing MMDB files with --no-fields specified: we ended up not being able to actually read any data at all as it always told us the entry didn't exist, even though it did exist in the file. This is likely something to do with how the underlying Golang MMDB reader logic works, but in any case we will solve it here by always adding the network field when there is no other field to write for an entry.

@UmanShahzad UmanShahzad requested a review from rm-Umar March 14, 2022 21:41
@UmanShahzad UmanShahzad self-assigned this Mar 14, 2022
@UmanShahzad UmanShahzad merged commit abd2f59 into master Mar 14, 2022
@UmanShahzad UmanShahzad deleted the uman/network-field-when-no-field branch March 14, 2022 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant