Hello list.
I want to check if the result from 'loc_database_lookup()' is on a "Bogon network".
My C-code would go something like: struct loc_network *net; struct in6_addr addr; ... int rc = loc_database_lookup (libloc.db, &addr, &net);
if (rc == 0 && net) { ... if (loc_network_has_flag(net, LOC_NETWORK_FLAG_BOGON)) ... } -----------------
This flag 'LOC_NETWORK_FLAG_BOGON' does not exist (yet). Would it be possible?
And is there any relationship between a "Bogon" and 'LOC_NETWORK_FLAG_DROP' flag?
So I guess I have to do what: Database_iterate_all(self, LOC_DB_ENUMERATE_BOGONS, family, 0);
does and create my own list to check against (?)
And BTW, I'm on Windows-10.