This PR adds support for IPinfo MMDB database format as described in #533.
Now both the "standard" MMDB files and IPinfo's ones can be successfully imported and used with Sniffnet.
This was achieved introducing new enums whose variants correspond to the possible different representations of database entries.
In this way, the result of the lookup against the MMDB file will be deserialised to the proper enum variant.
This PR adds support for IPinfo MMDB database format as described in #533.
Now both the "standard" MMDB files and IPinfo's ones can be successfully imported and used with Sniffnet.
This was achieved introducing new enums whose variants correspond to the possible different representations of database entries. In this way, the result of the lookup against the MMDB file will be deserialised to the proper enum variant.
Fixes #533.