Closed ggidofalvy-tc closed 2 years ago
Hi @ggidofalvy-tc,
The flag -t must be used only for testing the resolution of the geofeed file. When you test a prefix, you obtain the "parent" inetnum + the content of the geofeed file for that inetnum. So the behavior reported in the the second example is ok. However, it's poorly documented, I will address this.
For your first report, the inetnum should not be printed as "null", I will investigate on this. Just to clarify, the normal parsing (without -t) is not affected.
Hi @ggidofalvy-tc,
I fixed the issue and improved the documentation about the -t
option (see v1.5.1). Thanks a lot for reporting this.
Hi there,
I seem to have found a small issue with v6 prefix lookups, I'm not actually sure if this is an issue with our geofeed itself or the code.
I'd think that the latter two should be a match, while the first one should just return gracefully instead of trying to call functions on a null, resulting in an error.
I have also found another error where a shorter IPv6 prefix is somehow matched, resulting in all v6 entries in a geofeed being returned: